module.exports = { testEnvironment: 'node', roots: ['/integration', '/unit'], testMatch: [ '**/__tests__/**/*.js', '**/?(*.)+(spec|test).js' ], collectCoverageFrom: [ '../services/**/src/**/*.js', '!../services/**/src/index.js', '!../services/**/src/config/**', '!**/node_modules/**' ], coverageThreshold: { global: { branches: 70, functions: 70, lines: 70, statements: 70 } }, setupFilesAfterEnv: ['/setup.test.js'], testTimeout: 30000, verbose: true, forceExit: true, clearMocks: true, resetMocks: true, restoreMocks: true, moduleNameMapper: { '^@/(.*)$': '/../services/$1' } };