-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathjestconfig.json
More file actions
28 lines (28 loc) · 753 Bytes
/
Copy pathjestconfig.json
File metadata and controls
28 lines (28 loc) · 753 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
{
"moduleDirectories": [
"node_modules",
"src"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleNameMapper": {
"\\.(css|scss)$": "identity-obj-proxy"
},
"transform": {
".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testResultsProcessor": "<rootDir>/node_modules/ts-jest/coverageprocessor.js",
"coveragePathIgnorePatterns": ["node_modules", "__tests__"],
"collectCoverageFrom": ["src/**/*.{ts,tsx}", "!src/**/*.d.ts"],
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testRegex": "__tests__/.*\\.test\\.(ts|tsx|js)$",
"setupTestFrameworkScriptFile": "<rootDir>/enzyme-react-16-config.js",
"globals": {
"__TS_CONFIG__": "<rootDir>/tsconfig.json"
}
}