forked from typegoose/auto-increment
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjest.config.json
More file actions
34 lines (34 loc) · 732 Bytes
/
jest.config.json
File metadata and controls
34 lines (34 loc) · 732 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
30
31
32
33
34
{
"preset": "ts-jest",
"testEnvironment": "node",
"globals": {
"ts-jest": {
"tsconfig": "<rootDir>/tsconfig.json",
"diagnostics": true
}
},
"moduleFileExtensions": [
"ts",
"js"
],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"testPathIgnorePatterns": [
"/node_modules/",
"/lib/"
],
"testRegex": ".test.ts$",
"collectCoverage": false,
"collectCoverageFrom": [
"**/src/**/*.ts",
"!**/*.{test.ts,d.ts,js}"
],
"coverageDirectory": "./coverage",
"globalSetup": "<rootDir>/test/utils/globalSetup.ts",
"globalTeardown": "<rootDir>/test/utils/globalTeardown.ts",
"maxConcurrency": 2,
"setupFilesAfterEnv": [
"<rootDir>/test/utils/setupFile.ts"
]
}