module.exports = { preset: 'jest-preset-angular', setupTestFrameworkScriptFile: '/src/test/javascript/jest.ts', coverageDirectory: '/build/test-results/', globals: { 'ts-jest': { tsConfigFile: 'tsconfig.json' }, __TRANSFORM_HTML__: true }, coveragePathIgnorePatterns: [ '/src/test/javascript' ], moduleNameMapper: { 'app/(.*)': '/src/main/webapp/app/$1' }, reporters: [ 'default', [ 'jest-junit', { output: './build/test-results/TESTS-results-jest.xml' } ] ], testResultsProcessor: 'jest-sonar-reporter', transformIgnorePatterns: ['node_modules/(?!@angular/common/locales)'], testMatch: ['/src/test/javascript/spec/**/+(*.)+(spec.ts)'], rootDir: '../../../', testURL: "http://localhost/" };