evdboom_Bindery/bindery-core/vitest.config.ts
2026-04-28 10:29:38 +02:00

22 lines
618 B
TypeScript

import { defineConfig } from 'vitest/config';
export default defineConfig({
test: {
include: ['test/**/*.test.ts'],
coverage: {
provider: 'v8',
reporter: ['text', 'text-summary', 'lcov', 'html'],
reportsDirectory: './coverage',
include: ['src/**/*.ts'],
exclude: [
'src/index.ts', // barrel re-export only
],
thresholds: {
statements: 80,
branches: 65,
functions: 90,
lines: 80,
},
},
},
});