mirror of
https://github.com/vee1e/workorder-desk.git
synced 2026-09-01 17:57:11 +00:00
23 lines
No EOL
546 B
TypeScript
23 lines
No EOL
546 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
environment: 'node',
|
|
globals: false,
|
|
setupFiles: ['./tests/setup.ts'],
|
|
testTimeout: 30000,
|
|
hookTimeout: 60000,
|
|
coverage: {
|
|
provider: 'v8',
|
|
reporter: ['text', 'lcov'],
|
|
include: ['src/**/*.ts'],
|
|
exclude: ['src/server.ts', 'src/scripts/**', 'src/types/**', 'src/config/logger.ts'],
|
|
thresholds: {
|
|
statements: 80,
|
|
branches: 70,
|
|
functions: 80,
|
|
lines: 80,
|
|
},
|
|
},
|
|
},
|
|
}); |