Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions node/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ export default defineConfig({
environment: 'node',
globals: false,
include: ['tests/**/*.test.ts'],
// CI Ubuntu runners take longer for the first Express `app.listen(0,
// '127.0.0.1', cb)` bind in `tests/http-transport.test.ts` — enough to
// push past the vitest default 5000ms on some of the lifecycle-heavy
// tests. Locally the full file passes in ~70ms. Bumping testTimeout +
// hookTimeout to 15000ms is a CI-environment accommodation; the
// in-test work itself is sub-100ms once bind completes.
testTimeout: 15000,
hookTimeout: 15000,
coverage: {
provider: 'v8',
include: ['src/**/*.ts'],
Expand Down
Loading