Skip to content

Commit

Permalink
fix: biome formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
barbmarcio committed Jul 19, 2024
1 parent cc9fb33 commit c5d63eb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bunfig.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[test]
coverage = true
root = "./test"
root = "./test"
4 changes: 2 additions & 2 deletions e2e/auctions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,11 +57,11 @@ test.describe("Create Auction via Topsort SDK", () => {
});

test("should fail to call with missing apiKey", async ({ page }) => {
const expectedError = { status: 401, statusText: 'API Key is required.', body: {} }
const expectedError = { status: 401, statusText: "API Key is required.", body: {} };
await page.goto("http://localhost:8080/e2e");
const result = await page.evaluate(() => {
const config = {
apiKey: null
apiKey: null,
};

const auctionDetails = {
Expand Down
8 changes: 4 additions & 4 deletions e2e/events.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { apis, baseURL } from "../src/constants/apis.constant";
test.describe("Report Events via Topsort SDK", () => {
test("should report an successfully", async ({ page }) => {
const mockAPIResponse = {
ok: true
}
ok: true,
};

await page.route(`${baseURL}/${apis.events}`, async (route) => {
await route.fulfill({ json: mockAPIResponse });
Expand Down Expand Up @@ -43,11 +43,11 @@ test.describe("Report Events via Topsort SDK", () => {
});

test("should fail to call with missing apiKey", async ({ page }) => {
const expectedError = { status: 401, statusText: 'API Key is required.', body: {} }
const expectedError = { status: 401, statusText: "API Key is required.", body: {} };
await page.goto("http://localhost:8080/e2e");
const result = await page.evaluate(() => {
const config = {
apiKey: null
apiKey: null,
};

const event = {
Expand Down
4 changes: 2 additions & 2 deletions global.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
interface Window {
sdk: {
createAuction: (a, b) => unknown,
reportEvent: (a, b) => unknown,
createAuction: (a, b) => unknown;
reportEvent: (a, b) => unknown;
};
}

0 comments on commit c5d63eb

Please sign in to comment.