shlink-web-client/stryker.conf.js
2019-04-22 10:04:41 +02:00

22 lines
479 B
JavaScript

const jestConfig = require(`${__dirname}/jest.config.js`);
module.exports = (config) => config.set({
mutate: jestConfig.collectCoverageFrom,
mutator: 'javascript',
testRunner: 'jest',
reporters: [ 'progress', 'clear-text' ],
coverageAnalysis: 'off',
jest: {
projectType: 'custom',
config: jestConfig,
enableFindRelatedTests: true,
},
thresholds: {
high: 80,
low: 60,
break: null,
},
clearTextReporter: {
logTests: false,
},
});