diff --git a/vitest.config.ts b/vitest.config.ts index 2ed4ed07f7c..0b953028388 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -24,7 +24,7 @@ export default defineConfig({ ], }, test: { - testTimeout: 120_000, + testTimeout: isWindows ? 240_000 : 120_000, hookTimeout: isWindows ? 180_000 : 120_000, // Many suites rely on `vi.stubEnv(...)` and expect it to be scoped to the test. // This is especially important under `pool=vmForks` where env leaks cross-file.