test: enforce coverage thresholds

This commit is contained in:
Peter Steinberger
2025-12-26 18:23:59 +01:00
parent a4686f90ee
commit b46b24a8c5
5 changed files with 248 additions and 11 deletions
+6
View File
@@ -10,6 +10,12 @@ export default defineConfig({
reporter: ['text', 'html'],
include: ['src/**/*.ts'],
exclude: ['src/index.ts'],
thresholds: {
statements: 70,
branches: 70,
functions: 70,
lines: 70,
},
},
},
});