forked from finos/SymphonyElectron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest-config.json
34 lines (34 loc) · 925 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
{
"roots": ["<rootDir>/spec"],
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.svg$": "<rootDir>/svgTransform.js"
},
"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"]
}