mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 14:19:58 +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`
17 lines
414 B
JavaScript
17 lines
414 B
JavaScript
/** @type { import('@jest/types').Config.InitialOptions } */
|
|
module.exports = {
|
|
collectCoverage: false,
|
|
globals: {
|
|
'ts-jest': {
|
|
isolatedModules: true,
|
|
},
|
|
},
|
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
|
resetMocks: true,
|
|
resetModules: true,
|
|
testEnvironment: 'node',
|
|
testRegex: ['.+\\.test\\.tsx?$'],
|
|
transform: { '^.+\\.tsx?$': 'ts-jest' },
|
|
verbose: false,
|
|
};
|