shlink-web-client/stryker.conf.js

33 lines
626 B
JavaScript
Raw Normal View History

2019-04-22 00:18:35 +03:00
const jestConfig = require(`${__dirname}/jest.config.js`);
2020-05-31 10:27:42 +03:00
module.exports = {
2019-04-22 00:18:35 +03:00
mutate: jestConfig.collectCoverageFrom,
2020-11-14 01:06:03 +03:00
checkers: [ 'typescript' ],
tsconfigFile: 'tsconfig.json',
2019-04-22 00:03:37 +03:00
testRunner: 'jest',
reporters: [ 'progress', 'clear-text' ],
2021-05-15 13:02:43 +03:00
ignorePatterns: [
'coverage',
'reports',
'build',
'dist',
'home',
'scripts',
'docker-compose.*',
'public/servers.json*',
],
2019-04-22 00:03:37 +03:00
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,
},
2020-05-31 10:27:42 +03:00
};