mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
33 lines
680 B
JavaScript
33 lines
680 B
JavaScript
module.exports = {
|
|
clearMocks: true,
|
|
restoreMocks: true,
|
|
preset: 'ts-jest',
|
|
collectCoverageFrom: [
|
|
'packages/*/src/**/*.ts',
|
|
'!packages/**/__tests__/**/*',
|
|
'!packages/core/src/benchmark/**/*',
|
|
'!packages/cli/src/index.ts',
|
|
'!packages/cli/src/assert-node-version.ts',
|
|
],
|
|
coverageThreshold: {
|
|
'packages/core/': {
|
|
statements: 77,
|
|
branches: 69,
|
|
functions: 66,
|
|
lines: 77,
|
|
},
|
|
'packages/cli/': {
|
|
statements: 33,
|
|
branches: 28,
|
|
functions: 29,
|
|
lines: 34,
|
|
},
|
|
},
|
|
testMatch: ['**/__tests__/**/*.test.ts', '**/*.test.ts'],
|
|
globals: {
|
|
'ts-jest': {
|
|
diagnostics: false,
|
|
},
|
|
},
|
|
};
|