Files
dsa/vitest.config.ts
naomi f54cbbb613
Node.js CI / Lint and Test (push) Successful in 42s
fix: exclude type challenges from coverage
2025-11-22 18:48:34 -08:00

18 lines
385 B
TypeScript

import { defineConfig } from 'vitest/config'
export default defineConfig({
test: {
coverage: {
provider: 'v8',
reporter: ['text'],
include: ['src/**/*.ts'],
exclude: ['src/**/*.spec.ts', 'src/type-challenges/**/*.ts'],
thresholds: {
statements: 100,
branches: 100,
functions: 100,
lines: 100,
},
},
},
})