module.exports = { collectCoverage: true, collectCoverageFrom: ['src/*.{ts,tsx}'], moduleFileExtensions: ['ts', 'tsx', 'js', 'json'], preset: 'ts-jest', rootDir: process.cwd(), roots: ['/test'], setupFiles: ['/scripts/jest/setupEnvironment.ts'], setupFilesAfterEnv: ['/scripts/jest/setupJest.ts'], testMatch: ['/test/*.spec.ts?(x)'], transform: { '^.+\\.(js|tsx?)$': 'ts-jest' } }