CommunitySolidServer/jest.coverage.config.js
Joachim Van Herwegen af88e130ff test: Always collect coverage
But only set the threshold when running unit tests specifically.
This way coverage for single classes can easily be tested.
2021-01-18 13:38:28 +01:00

14 lines
219 B
JavaScript

const jestConfig = require('./jest.config');
module.exports = {
...jestConfig,
coverageThreshold: {
'./src': {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
},
};