Added stryker to the project

This commit is contained in:
Alejandro Celaya
2019-04-21 23:03:37 +02:00
parent e5ef2eb5c6
commit 831c0444d6
5 changed files with 466 additions and 2 deletions

17
stryker.conf.js Normal file
View File

@@ -0,0 +1,17 @@
module.exports = (config) => config.set({
mutate: [ 'src/**/*.js' ],
mutator: 'javascript',
testRunner: 'jest',
reporters: [ 'progress', 'clear-text', 'html' ],
coverageAnalysis: 'off',
jest: {
projectType: 'custom',
config: require(`${__dirname}/jest.config.js`),
enableFindRelatedTests: true,
},
thresholds: {
high: 80,
low: 60,
break: null,
},
});