Enforce coverage %.

This commit is contained in:
Dermot Duffy
2023-10-31 14:06:10 -07:00
parent 45d2e6499a
commit f67511c6c1
4 changed files with 29 additions and 10 deletions
+8
View File
@@ -6,6 +6,14 @@ export default defineConfig({
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: 71.65,
branches: 60.62,
functions: 72.78,
lines: 71.54,
},
},
});