mirror of
https://github.com/shlinkio/shlink-web-client.git
synced 2024-12-23 17:40:23 +03:00
32 lines
626 B
JavaScript
32 lines
626 B
JavaScript
const jestConfig = require(`${__dirname}/jest.config.js`);
|
|
|
|
module.exports = {
|
|
mutate: jestConfig.collectCoverageFrom,
|
|
checkers: [ 'typescript' ],
|
|
tsconfigFile: 'tsconfig.json',
|
|
testRunner: 'jest',
|
|
reporters: [ 'progress', 'clear-text' ],
|
|
ignorePatterns: [
|
|
'coverage',
|
|
'reports',
|
|
'build',
|
|
'dist',
|
|
'home',
|
|
'scripts',
|
|
'docker-compose.*',
|
|
'public/servers.json*',
|
|
],
|
|
jest: {
|
|
projectType: 'custom',
|
|
config: jestConfig,
|
|
enableFindRelatedTests: true,
|
|
},
|
|
thresholds: {
|
|
high: 80,
|
|
low: 60,
|
|
break: null,
|
|
},
|
|
clearTextReporter: {
|
|
logTests: false,
|
|
},
|
|
};
|