20 lines
468 B
TypeScript
20 lines
468 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
|
|
// ts-prune-ignore-next
|
|
export default defineConfig({
|
|
test: {
|
|
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.
|
|
thresholdAutoUpdate: true,
|
|
statements: 73.59,
|
|
branches: 63.6,
|
|
functions: 74.86,
|
|
lines: 73.49,
|
|
},
|
|
},
|
|
});
|