insomnia/packages/insomnia-sdk/jest.config.js
Jack Kavanagh 3349fe56ea
Clean up outdate jest and tsconfigs (#7712)
* inso

* insomnia

* testing

* sdk

* remove base and eslint configs

* fix lock
2024-07-12 13:55:22 +02:00

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',
};