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,
|
2019-04-22 11:04:41 +03:00
|
|
|
mutator: 'javascript',
|
2019-04-22 00:03:37 +03:00
|
|
|
testRunner: 'jest',
|
2019-04-22 11:04:41 +03:00
|
|
|
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,
|
|
|
|
},
|
2019-04-22 11:04:41 +03:00
|
|
|
clearTextReporter: {
|
|
|
|
logTests: false,
|
|
|
|
},
|
2019-04-22 00:03:37 +03:00
|
|
|
});
|