2018-09-06 01:15:07 -05:00
|
|
|
{
|
2023-01-12 03:43:25 -06:00
|
|
|
"roots": ["<rootDir>/spec"],
|
2019-01-22 09:12:16 -06:00
|
|
|
"transform": {
|
2023-01-12 03:43:25 -06:00
|
|
|
"^.+\\.tsx?$": "ts-jest",
|
|
|
|
"^.+\\.svg$": "<rootDir>/svgTransform.js"
|
2019-01-22 09:12:16 -06:00
|
|
|
},
|
|
|
|
"testRegex": "(test|spec)\\.tsx?$",
|
2023-01-12 03:43:25 -06:00
|
|
|
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
|
2018-09-06 01:15:07 -05:00
|
|
|
"verbose": true,
|
|
|
|
"collectCoverage": true,
|
2023-01-12 03:43:25 -06:00
|
|
|
"coverageReporters": ["text", "html"],
|
2019-08-23 03:08:51 -05:00
|
|
|
"coverageDirectory": "dist/coverage",
|
2018-09-06 01:15:07 -05:00
|
|
|
"collectCoverageFrom": [
|
2019-03-01 03:58:58 -06:00
|
|
|
"src/**/*.{ts,tsx}",
|
2018-09-06 01:15:07 -05:00
|
|
|
"!**/node_modules/**",
|
|
|
|
"!**/vendor/**"
|
|
|
|
],
|
|
|
|
"reporters": [
|
|
|
|
"default",
|
2023-01-12 03:43:25 -06:00
|
|
|
[
|
|
|
|
"./node_modules/jest-html-reporter",
|
|
|
|
{
|
|
|
|
"pageTitle": "Symphony Electron Test Result",
|
|
|
|
"includeFailureMsg": true,
|
|
|
|
"includeConsoleLog": true,
|
|
|
|
"theme": "lightTheme",
|
|
|
|
"sort": "status",
|
|
|
|
"outputPath": "./dist/coverage/UnitTestsReport.html"
|
|
|
|
}
|
|
|
|
]
|
2019-03-15 07:20:52 -05:00
|
|
|
],
|
2023-01-12 03:43:25 -06:00
|
|
|
"setupFiles": ["./spec/setup/test-setup.js"],
|
2019-03-15 07:20:52 -05:00
|
|
|
"snapshotSerializers": ["enzyme-to-json/serializer"]
|
2018-09-06 01:15:07 -05:00
|
|
|
}
|