14 lines
309 B
TypeScript
14 lines
309 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ['__tests__/**/*.test.ts'],
|
|
coverage: {
|
|
provider: 'v8',
|
|
include: ['src/**/*.ts'],
|
|
exclude: ['src/index.ts'],
|
|
thresholds: { lines: 85, functions: 85, branches: 80 },
|
|
},
|
|
},
|
|
});
|