mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 22:59:10 +00:00
test: increment jest timeout (#7421)
This commit is contained in:
parent
4e0b61593a
commit
74277ecddc
@ -6,7 +6,7 @@ const config: Config.InitialOptions = {
|
||||
testMatch: process.env.VITE_TEST_BUILD
|
||||
? ['**/playground/**/*.spec.[jt]s?(x)']
|
||||
: ['**/*.spec.[jt]s?(x)'],
|
||||
testTimeout: process.env.CI ? 30000 : 10000,
|
||||
testTimeout: process.env.CI ? 50000 : 20000,
|
||||
globalSetup: './scripts/jestGlobalSetup.cjs',
|
||||
globalTeardown: './scripts/jestGlobalTeardown.cjs',
|
||||
testEnvironment: './scripts/jestEnv.cjs',
|
||||
|
Loading…
Reference in New Issue
Block a user