-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest.config.json
40 lines (40 loc) · 1 KB
/
jest.config.json
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
29
30
31
32
33
34
35
36
37
38
39
40
{
"verbose": true,
"collectCoverage": true,
"collectCoverageFrom": [
"source/**/*.{ts,tsx}",
"!source/**/*.spec.{ts,tsx}",
"!source/**/*.d.{ts,tsx}",
"!source/**/templates/**/*{ts,tsx}",
"!source/*{ts,tsx}",
"!source/store/*{ts,tsx}",
"!source/services/*{ts,tsx}",
"!source/**/store/*{ts,tsx}",
"!source/**/notFoundContainer.tsx",
"!source/**/mainPageRedirectContainer.tsx",
"!source/config/**/*.{ts,tsx}",
"!source/**/authServices.ts"
],
"scriptPreprocessor": "./node_modules/ts-jest/preprocessor.js",
"testRegex": "(/spec/.*|\\.(test|spec))\\.(ts|tsx|js)$",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"updateSnapshot": true,
"moduleNameMapper": {
"^Components/(.*)": "./source/modules/$1"
},
"globals": {
"window": {},
"ts-jest": {
"tsConfigFile": "./tsconfig.json"
}
},
"testURL": "http://localhost/",
"setupFiles": [
"<rootDir>/jest.stubs.js"
],
"setupTestFrameworkScriptFile": "./jest.tests.js"
}