airi/apps/server/vitest.config.ts
2026-04-03 01:26:38 +08:00

25 lines
428 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
environment: 'node',
globals: true,
coverage: {
provider: 'v8',
include: [
'src/**/*.ts',
],
reporter: [
'text',
'json',
'html',
],
thresholds: {
lines: 100,
functions: 100,
branches: 100,
statements: 100,
},
},
},
})