insomnia/packages/insomnia-inso/jest.config.js
2022-05-17 08:18:06 -04:00

21 lines
431 B
JavaScript

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