-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathjest.config.js
36 lines (36 loc) · 896 Bytes
/
jest.config.js
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
module.exports = {
"collectCoverage": true,
"coverageDirectory": "./coverage/",
"collectCoverageFrom": [
"**/src/util/*.{ts,tsx}",
"!**/src/api/*.{ts,tsx}",
"!**/src/xlsx/*.{ts,tsx}",
"!**/.circleci/**",
"!**/.idea/**",
"!**/lib/**",
"!**/node_modules/**",
],
"transform": {
"^.+\\.(ts|tsx)$": "ts-jest"
},
"testRegex": ".*/test/(.*/)?.*.test.(ts|tsx)",
"moduleFileExtensions": [
"ts",
"tsx",
"js"
],
"moduleDirectories": [
"node_modules"
],
"modulePathIgnorePatterns": [
"<rootDir>/.circleci",
"<rootDir>/.idea",
"<rootDir>/coverage",
"<rootDir>/lib",
"<rootDir>/node_modules",
"<rootDir>/.gitignore",
"<rootDir>/.npmrc",
"<rootDir>/README.md",
"<rootDir>/tsconfig.json"
]
}