mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 14:49:53 +00:00
5fe277ee02
* use jest-preset for all but app * separate properties that are the same as the preset for some reason, it doesn't work. you get: ``` Preset ../../jest-preset.js not found. ``` This needs to be investigated. * removes unused/unneeded npm script in `app`, `test:jest`
16 lines
360 B
JavaScript
16 lines
360 B
JavaScript
/** @type { import('@jest/types').Config.InitialOptions } */
|
|
module.exports = {
|
|
preset: '../../jest-preset.js',
|
|
collectCoverage: true,
|
|
coveragePathIgnorePatterns: ['/node_modules/'],
|
|
coverageThreshold: {
|
|
global: {
|
|
branches: 88,
|
|
functions: 96,
|
|
lines: 95,
|
|
statements: 95,
|
|
},
|
|
},
|
|
setupFiles: ['./src/jest/setup.ts'],
|
|
};
|