diff --git a/jest.config.ts b/jest.config.ts index eba7698..2807ba8 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -65,7 +65,11 @@ export default { // globalTeardown: undefined, // A set of global variables that need to be available in all test environments - // globals: {}, + globals: { + 'ts-jest': { + isolatedModules: true + } + } // The maximum amount of workers used to run your tests. Can be specified as % or a number. E.g. maxWorkers: 10% will use 10% of your CPU amount + 1 as the maximum worker number. maxWorkers: 2 will use a maximum of 2 workers. // maxWorkers: "50%",