chore: fix timeout

This commit is contained in:
DarkSky
2022-12-27 18:15:20 +08:00
parent bb3eb6e3b3
commit a86d29ef16
+3 -2
View File
@@ -28,9 +28,10 @@ const config: PlaywrightTestConfig = {
workers: '100%',
webServer: {
command: 'npm run dev',
command: 'pnpm build && pnpm start -p 8080',
port: 8080,
reuseExistingServer: true,
timeout: 120 * 1000,
reuseExistingServer: !process.env.CI,
},
};