insomnia/packages/insomnia-inso/jest.config.js

22 lines
475 B
JavaScript
Raw Normal View History

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