text: module.exports = {
    preset: 'jest-preset-angular',
    reporters: ['default'],
    setupFilesAfterEnv: [require.resolve('./setup-jest.js')],
    transformIgnorePatterns: ['node_modules/(?!(jest-test))'],
    testPathIgnorePatterns: ['<rootDir>/.*/e2e/'],
    globals: {
      'ts-jest': {
        tsconfig: require.resolve('./tsconfig.spec.json'),
      },
    },
    moduleNameMapper: {
      // map angular modules to the root node_modules to avoid duplicated modules
      "(@angular\/.*)$": "<rootDir>/node_modules/$1"
    }
  };
  