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',
|
2019-04-22 11:04:41 +03:00
|
|
|
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,
|
|
|
|
},
|
2019-04-22 11:04:41 +03:00
|
|
|
clearTextReporter: {
|
|
|
|
logTests: false,
|
|
|
|
},
|
2020-05-31 10:27:42 +03:00
|
|
|
};
|