mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
3349fe56ea
* inso * insomnia * testing * sdk * remove base and eslint configs * fix lock
30 lines
487 B
JavaScript
30 lines
487 B
JavaScript
/** @type { import('@jest/types').Config.InitialOptions } */
|
|
|
|
module.exports = {
|
|
moduleFileExtensions: [
|
|
'js',
|
|
'json',
|
|
'jsx',
|
|
'node',
|
|
'ts',
|
|
'tsx',
|
|
],
|
|
resetMocks: true,
|
|
resetModules: true,
|
|
testEnvironment: 'node',
|
|
testRegex: [
|
|
'.+\\.test\\.tsx?$',
|
|
],
|
|
transform: {
|
|
'^.+\\.tsx?$': [
|
|
'ts-jest',
|
|
{
|
|
isolatedModules: true,
|
|
tsconfig: 'tsconfig.jest.json',
|
|
},
|
|
],
|
|
},
|
|
verbose: false,
|
|
preset: 'ts-jest',
|
|
};
|