mirror of
https://github.com/evdboom/Bindery.git
synced 2026-07-22 06:49:36 +00:00
22 lines
618 B
TypeScript
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,
|
|
},
|
|
},
|
|
},
|
|
});
|