Increase unit test and hook timeouts to 30s
All checks were successful
🚀 Deploy / 🧪 Test (pull_request) Successful in 3m40s
🚀 Deploy / ʦ🔍 Typecheck & Lint (pull_request) Successful in 1m38s
🚀 Deploy / 🐳 Build (pull_request) Has been skipped
🚀 Deploy / 🚀 Deploy (pull_request) Has been skipped

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:
Chris Parsons 2026-06-09 22:34:39 -07:00
parent 8ca1c9cf94
commit 89a82b486f

View file

@ -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,