Increase unit test and hook timeouts to 30s
The CI runner is slow enough that jsdom environment startup can consume most of the default 5s budget before a test body runs. 30s is still a real safety net against genuine infinite hangs. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8ca1c9cf94
commit
89a82b486f
1 changed files with 3 additions and 1 deletions
|
|
@ -38,7 +38,9 @@ export default defineConfig({
|
||||||
name: 'unit',
|
name: 'unit',
|
||||||
globals: true,
|
globals: true,
|
||||||
environment: 'jsdom',
|
environment: 'jsdom',
|
||||||
setupFiles: ['./app/test/setup.ts']
|
setupFiles: ['./app/test/setup.ts'],
|
||||||
|
testTimeout: 30000,
|
||||||
|
hookTimeout: 30000,
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
extends: true,
|
extends: true,
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue