Enforce coverage %.
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user