Skip to content

Commit b854583

Browse files
committed
fix(tests): increase vitest teardown timeout to prevent worker timeouts on slow CI
Added teardownTimeout: 30_000 to vitest config to prevent "Timeout waiting for worker to respond" errors in slow CI environments.
1 parent 6389247 commit b854583

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.config/vitest.config.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ const vitestConfig = defineConfig({
9696
useAtomics: true,
9797
},
9898
},
99+
// Increase timeouts to prevent worker timeout on slow CI environments
100+
teardownTimeout: 30_000,
99101
// Reduce timeouts for faster failures
100102
testTimeout: 10_000,
101103
hookTimeout: 10_000,

0 commit comments

Comments
 (0)