mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-18 10:31:50 +08:00
chore: fix timeout
This commit is contained in:
@@ -28,9 +28,10 @@ const config: PlaywrightTestConfig = {
|
|||||||
workers: '100%',
|
workers: '100%',
|
||||||
|
|
||||||
webServer: {
|
webServer: {
|
||||||
command: 'npm run dev',
|
command: 'pnpm build && pnpm start -p 8080',
|
||||||
port: 8080,
|
port: 8080,
|
||||||
reuseExistingServer: true,
|
timeout: 120 * 1000,
|
||||||
|
reuseExistingServer: !process.env.CI,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user