Skip to content

Commit

Permalink
Typescript definitions for playwright use are wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
emrysal committed Apr 24, 2024
1 parent 8626f45 commit af3dcc1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions playwright.config.ts
Expand Up @@ -110,6 +110,8 @@ const config: PlaywrightTestConfig = {
expect: {
timeout: DEFAULT_EXPECT_TIMEOUT,
},
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore TS definitions for USE are wrong.
use: DEFAULT_CHROMIUM,
},
{
Expand All @@ -119,6 +121,8 @@ const config: PlaywrightTestConfig = {
expect: {
timeout: DEFAULT_EXPECT_TIMEOUT,
},
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore TS definitions for USE are wrong.
use: DEFAULT_CHROMIUM,
},
{
Expand All @@ -141,6 +145,8 @@ const config: PlaywrightTestConfig = {
timeout: DEFAULT_EXPECT_TIMEOUT,
},
testMatch: /.*\.e2e\.tsx?/,
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore TS definitions for USE are wrong.
use: {
...DEFAULT_CHROMIUM,
baseURL: "http://localhost:3101/",
Expand Down

0 comments on commit af3dcc1

Please sign in to comment.