-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathjest.config.json
39 lines (39 loc) · 928 Bytes
/
jest.config.json
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
{
"preset": "ts-jest",
"testEnvironment": "jsdom",
"bail": true,
"resolver": "<rootDir>/src/internal/utils/jest-ts-resolver.cjs",
"collectCoverageFrom": [
"<rootDir>/src/**/*.ts",
"<rootDir>/scripts/**/*.ts",
"!<rootDir>/scripts/createEntrypoints.ts",
"!<rootDir>/src/internal/utils/cloneDeep.ts",
"!<rootDir>/scripts/copyPackageJsonToSrc.ts.ts",
"!<rootDir>/src/backwards/**/*.ts"
],
"modulePaths": [
"<rootDir>/src"
],
"coverageThreshold": {
"global": {
"branches": 40,
"functions": 67,
"lines": 69,
"statements": 70
}
},
"globals": {
"ts-jest": {
"diagnostics": false
}
},
"reporters": [
"default",
["jest-html-reporters", {
"publicPath" : "./public/progress/",
"filename": "cloudinary-base-progress-report.html",
"pageTitle": "Cloudinary JS v2 Progress Report",
"expand": true
}]
]
}