build: enforce 80% test coverage on changed files via husky
This commit is contained in:
@ -3,4 +3,10 @@ module.exports = {
|
||||
testEnvironment: 'node',
|
||||
testMatch: ['**/*.test.ts'],
|
||||
setupFiles: ['<rootDir>/src/test/setup.ts'],
|
||||
collectCoverage: true,
|
||||
coverageThreshold: {
|
||||
global: {
|
||||
lines: 80,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user