mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-22 17:10:26 +03:00
Improved stryker config
This commit is contained in:
parent
831c0444d6
commit
b83c0e0aba
2 changed files with 12 additions and 4 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,6 +4,7 @@
|
|||
# testing
|
||||
/coverage
|
||||
/.stryker-tmp
|
||||
/reports
|
||||
|
||||
# production
|
||||
/build
|
||||
|
|
|
@ -1,12 +1,19 @@
|
|||
const jestConfig = require(`${__dirname}/jest.config.js`);
|
||||
|
||||
// reporters: clear-text
|
||||
|
||||
module.exports = (config) => config.set({
|
||||
mutate: [ 'src/**/*.js' ],
|
||||
mutator: 'javascript',
|
||||
mutate: jestConfig.collectCoverageFrom,
|
||||
mutator: {
|
||||
name: 'javascript',
|
||||
excludedMutations: [ 'BooleanSubstitution', 'StringLiteral' ],
|
||||
},
|
||||
testRunner: 'jest',
|
||||
reporters: [ 'progress', 'clear-text', 'html' ],
|
||||
reporters: [ 'progress' ],
|
||||
coverageAnalysis: 'off',
|
||||
jest: {
|
||||
projectType: 'custom',
|
||||
config: require(`${__dirname}/jest.config.js`),
|
||||
config: jestConfig,
|
||||
enableFindRelatedTests: true,
|
||||
},
|
||||
thresholds: {
|
||||
|
|
Loading…
Reference in a new issue