mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00

But only set the threshold when running unit tests specifically. This way coverage for single classes can easily be tested.
14 lines
219 B
JavaScript
14 lines
219 B
JavaScript
const jestConfig = require('./jest.config');
|
|
|
|
module.exports = {
|
|
...jestConfig,
|
|
coverageThreshold: {
|
|
'./src': {
|
|
branches: 100,
|
|
functions: 100,
|
|
lines: 100,
|
|
statements: 100,
|
|
},
|
|
},
|
|
};
|