Skip to content

Commit

Permalink
fix eslint playwright
Browse files Browse the repository at this point in the history
  • Loading branch information
SuaYoo committed Nov 28, 2023
1 parent 8460e66 commit 2f68337
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions playwright.config.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
import { defineConfig } from '@playwright/test';
/* eslint-env node */
import { defineConfig } from "@playwright/test";
export default defineConfig({
reporter: process.env.CI ? 'github' : 'list',
reporter: process.env.CI ? "github" : "list",
webServer: [
{
command: 'yarn run start-prod',
url: 'http://127.0.0.1:9990',
command: "yarn run start-prod",
url: "http://127.0.0.1:9990",
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
{
command: 'yarn run test-start-embed',
url: 'http://127.0.0.1:8020',
command: "yarn run test-start-embed",
url: "http://127.0.0.1:8020",
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
{
command: 'yarn run test-start-sandbox',
url: 'http://127.0.0.1:8030',
command: "yarn run test-start-sandbox",
url: "http://127.0.0.1:8030",
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
}
]
},
],
});

0 comments on commit 2f68337

Please sign in to comment.