shlink-web-client/stryker.conf.js

23 lines
479 B
JavaScript
Raw Normal View History

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