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