forked from finos/SymphonyElectron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jest-config.json
44 lines (44 loc) · 902 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
40
41
42
43
44
{
"roots": [
"<rootDir>/spec"
],
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "(test|spec)\\.tsx?$",
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json",
"node"
],
"verbose": true,
"collectCoverage": true,
"coverageReporters": [
"text",
"html"
],
"coverageDirectory": "dist/coverage",
"collectCoverageFrom": [
"src/**/*.{ts,tsx}",
"!**/node_modules/**",
"!**/vendor/**"
],
"reporters": [
"default",
["./node_modules/jest-html-reporter", {
"pageTitle": "Symphony Electron Test Result",
"includeFailureMsg": true,
"includeConsoleLog": true,
"theme": "lightTheme",
"sort": "status",
"outputPath": "./dist/coverage/UnitTestsReport.html"
}]
],
"setupFiles": [
"./spec/setup/test-setup.js"
],
"snapshotSerializers": ["enzyme-to-json/serializer"]
}