module.exports = { preset: 'ts-jest', testEnvironment: 'node', roots: [''], testMatch: ['**/*.test.ts'], moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], collectCoverageFrom: [ 'src/**/*.ts', '!src/**/*.d.ts', ], globals: { 'ts-jest': { tsconfig: { target: 'ES2020', module: 'commonjs', lib: ['ES2020'], types: ['node'], strict: true, esModuleInterop: true, skipLibCheck: true, forceConsistentCasingInFileNames: true, }, }, }, };