mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
18 lines
459 B
JavaScript
18 lines
459 B
JavaScript
|
/** @type { import('@jest/types').Config.InitialOptions } */
|
||
|
module.exports = {
|
||
|
globals: {
|
||
|
'ts-jest': {
|
||
|
isolatedModules: true,
|
||
|
},
|
||
|
},
|
||
|
testEnvironment: 'node',
|
||
|
transform: {
|
||
|
'^.+\\.tsx?$': 'ts-jest',
|
||
|
},
|
||
|
testRegex: ['.+\\.test\\.ts$'],
|
||
|
collectCoverage: false,
|
||
|
collectCoverageFrom: ['src/**/*.{js,jsx,ts,tsx}'],
|
||
|
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
|
||
|
coverageReporters: ['text-summary', 'lcov'],
|
||
|
};
|