forked from lukeybaer/secondbrain-os
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
21 lines (20 loc) · 709 Bytes
/
Copy pathvitest.config.ts
File metadata and controls
21 lines (20 loc) · 709 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
environment: 'node',
include: ['src/**/__tests__/**/*.test.ts', 'tests/**/*.spec.ts'],
exclude: [
'**/node_modules/**',
'**/.git/**',
'tests/**/*.pw.spec.ts',
'tests/projects.spec.ts',
],
// Bumped from the 5000ms default. Several tests (backups, integration
// tests that hit disk, llm-routing-guard file walks) legitimately run
// in the 2-5s range in isolation and tip over the 5s timeout under
// parallel worker contention on Windows. 20s gives comfortable headroom
// without masking real slowness.
testTimeout: 20000,
hookTimeout: 20000,
},
});