-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathjest.config.json
More file actions
45 lines (45 loc) · 1.01 KB
/
jest.config.json
File metadata and controls
45 lines (45 loc) · 1.01 KB
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
41
42
43
44
45
{
"bail": true,
"expand": true,
"verbose": true,
"rootDir": "./",
"useStderr": true,
"forceExit": true,
"logHeapUsage": true,
"collectCoverage": true,
"name": "tiny-shortener",
"testURL": "http://localhost/",
"coverageDirectory": "./coverage",
"testRegex": "(./ci/tests/.*| (\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"moduleNameMapper": {
"cli": "<rootDir>/src/cli.ts",
"parse": "<rootDir>/src/lib/parse.ts",
"wrapper": "<rootDir>/src/lib/wrapper.ts",
"tiny-shortener": "<rootDir>/src/tiny-shortener.ts"
},
"coveragePathIgnorePatterns": [
"./node_modules/",
"./dist/"
],
"coverageReporters": [
"json",
"lcov",
"text"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"globals": {
"ts-jest": {
"diagnostics": true
}
}
}