forked from conceptadev/rockets-react
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.json
More file actions
29 lines (29 loc) · 806 Bytes
/
jest.config.json
File metadata and controls
29 lines (29 loc) · 806 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
29
{
"moduleFileExtensions": ["js", "json", "ts", "tsx"],
"globals": {
"ts-jest": {
"tsconfig": "tsconfig.jest.json"
}
},
"testRegex": [".*\\.spec\\.ts$", ".*\\.spec\\.tsx$"],
"testPathIgnorePatterns": ["/node_modules/", "/dist/"],
"transform": {
"^.+\\.ts$": "ts-jest",
"^.+\\.(ts|tsx)?$": "ts-jest",
"^.+\\.(js|jsx)$": "babel-jest"
},
"collectCoverageFrom": [
"packages/**/*.ts",
"!packages/**/*.d.ts",
"!packages/**/*.interface.ts",
"!packages/**/*.e2e-spec.ts",
"!packages/react-samples/src/**/main.ts",
"!**/node_modules/**",
"!**/__stubs__/**",
"!**/__fixture__/**"
],
"coverageDirectory": "coverage",
"coverageReporters": ["html", "text", "text-summary", "cobertura"],
"testEnvironment": "node",
"preset": "ts-jest"
}