shlink-web-client/stryker.conf.js

33 lines
626 B
JavaScript
Raw Normal View History

2019-04-21 23:18:35 +02:00
const jestConfig = require(`${__dirname}/jest.config.js`);
2020-05-31 09:27:42 +02:00
module.exports = {
2019-04-21 23:18:35 +02:00
mutate: jestConfig.collectCoverageFrom,
2020-11-13 23:06:03 +01:00
checkers: [ 'typescript' ],
tsconfigFile: 'tsconfig.json',
2019-04-21 23:03:37 +02:00
testRunner: 'jest',
reporters: [ 'progress', 'clear-text' ],
2021-05-15 12:02:43 +02:00
ignorePatterns: [
'coverage',
'reports',
'build',
'dist',
'home',
'scripts',
'docker-compose.*',
'public/servers.json*',
],
2019-04-21 23:03:37 +02:00
jest: {
projectType: 'custom',
2019-04-21 23:18:35 +02:00
config: jestConfig,
2019-04-21 23:03:37 +02:00
enableFindRelatedTests: true,
},
thresholds: {
high: 80,
low: 60,
break: null,
},
clearTextReporter: {
logTests: false,
},
2020-05-31 09:27:42 +02:00
};