forked from MCDxAI/minecraft-dev-mcp
-
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) · 762 Bytes
/
vitest.config.ts
File metadata and controls
21 lines (20 loc) · 762 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: {
globals: true,
environment: 'node',
include: ['__tests__/**/*.test.ts'],
exclude: ['__tests__/manual/**'], // Exclude manual version-specific tests from CI
testTimeout: 600000, // 10 minutes for integration tests
hookTimeout: 30000,
watch: false, // Don't watch for changes, exit after tests finish
// Run test files sequentially to prevent race conditions
// (different workers have different singleton instances, so in-memory locks don't help)
fileParallelism: false,
coverage: {
provider: 'v8',
reporter: ['text', 'json', 'html'],
exclude: ['**/*.test.ts', '**/dist/**', '**/node_modules/**'],
},
},
});