Files
fiberops-api/vitest.config.ts
2026-04-13 09:36:55 +08:00

22 lines
489 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
globals: true,
root: './',
include: ['src/**/*.spec.ts', 'test/**/*.spec.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'lcov'],
include: ['src/**/*.ts'],
exclude: ['src/main.ts', 'src/**/*.module.ts', 'src/**/*.spec.ts'],
thresholds: {
lines: 80,
functions: 80,
branches: 80,
statements: 80,
},
},
},
});