25 lines
547 B
TypeScript
25 lines
547 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
// ts-prune-ignore-next
|
|
export default defineConfig({
|
|
test: {
|
|
include: [
|
|
"tests/**/*.test.ts"
|
|
],
|
|
coverage: {
|
|
// Favor istanbul for coverage over v8 due to better accuracy.
|
|
provider: 'istanbul',
|
|
|
|
// Thresholds will automatically be updated as coverage improves to avoid
|
|
// back-sliding.
|
|
thresholds: {
|
|
autoUpdate: true,
|
|
statements: 73.59,
|
|
branches: 63.6,
|
|
functions: 74.86,
|
|
lines: 73.48,
|
|
},
|
|
},
|
|
},
|
|
});
|