+ "jest": {
+ "globals": {
+ "ts-jest": {
+ "tsConfigFile": "<rootDir>/src/tsconfig.spec.json"
+ },
+ "__TRANSFORM_HTML__": true
+ },
+ "transform": {
+ "^.+\\.(ts|js|html)$": "<rootDir>/node_modules/jest-preset-angular/preprocessor.js"
+ },
+ "moduleNameMapper": {
+ "^@app/(.*)": "<rootDir>/src/app/$1",
+ "environments/(.*)": "<rootDir>/src/environments/$1"
+ },
+ "testMatch": [
+ "**/__tests__/**/*.+(ts|js)?(x)",
+ "**/+(*.)+(spec|test).+(ts|js)?(x)"
+ ],
+ "moduleFileExtensions": [
+ "ts",
+ "tsx",
+ "js",
+ "jsx",
+ "json",
+ "node"
+ ],
+ "transformIgnorePatterns": [
+ "<rootDir>/node_modules/(?!lodash-es/)"
+ ],
+ "preset": "jest-preset-angular",
+ "setupTestFrameworkScriptFile": "<rootDir>/src/setupJest.ts"
+ },