diff --git a/jest.config.js b/jest.config.js index c4dde89..d80b19e 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,6 +1,12 @@ /** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */ module.exports = { - roots: ['/src'], - preset: 'ts-jest', - testEnvironment: 'node', -}; \ No newline at end of file + roots: ["/src"], + preset: "ts-jest", + testEnvironment: "node", + testMatch: ["**/?(*.)+(spec|test).ts"], + globals: { + "ts-jest": { + isolatedModules: true, + }, + }, +};