insomnia/packages/insomnia-inso/jest.config.js
2024-06-24 13:21:21 +02:00

22 lines
476 B
JavaScript

/** @type { import('@jest/types').Config.InitialOptions } */
module.exports = {
preset: '../../jest-preset.js',
globals: {
'ts-jest': {
isolatedModules: true,
tsconfig: '../../tsconfig.base.json',
},
},
collectCoverage: false,
coveragePathIgnorePatterns: ['/node_modules/'],
coverageThreshold: {
global: {
branches: 80,
functions: 96,
lines: 95,
statements: 95,
},
},
setupFiles: ['./src/jest/setup.ts'],
};