Skip to content

Commit

Permalink
chore: remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
aiktb committed Oct 17, 2024
1 parent 997d713 commit b3bb07c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions __TEST__/e2e/fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,5 @@ export const test = base.extend<{
const extensionId = background.url().split("/")[2];
await use(extensionId!);
},
page: async ({ page }, use) => {
const logs: string[] = [];
page.on("console", (msg) => {
if (msg.type() === "error") {
logs.push(`[${msg.type()}] ${msg.text()}`);
}
});
page.on("pageerror", (error) => {
logs.push(`[${error.name}] ${error.message}`);
});
await use(page);
expect(logs).toStrictEqual([]);
},
});
export const { expect, describe } = test;

0 comments on commit b3bb07c

Please sign in to comment.