forked from ngxf/platform
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.json
More file actions
28 lines (28 loc) · 653 Bytes
/
jest.json
File metadata and controls
28 lines (28 loc) · 653 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"preset": "jest-preset-angular",
"setupTestFrameworkScriptFile": "<rootDir>/src/jest.ts",
"globals": {
"ts-jest": {
"tsConfigFile": "<rootDir>/src/tsconfig.spec.json"
},
"__TRANSFORM_HTML__": true
},
"transform": {
"^.+\\.(ts|js|html)$": "<rootDir>/node_modules/jest-preset-angular/preprocessor.js"
},
"testMatch": [
"**/__tests__/**/*.+(ts|js)?(x)",
"**/+(*.)+(spec|test).+(ts|js)?(x)"
],
"moduleFileExtensions": [
"ts",
"js",
"html"
],
"moduleNameMapper": {
"@ngxf/platform": "<rootDir>/projects/platform/src"
},
"transformIgnorePatterns": [
"node_modules/(?!@ngrx)"
]
}