2018-09-06 01:15:07 -05:00
|
|
|
{
|
2019-01-22 09:12:16 -06:00
|
|
|
"roots": [
|
|
|
|
"<rootDir>/spec"
|
|
|
|
],
|
|
|
|
"transform": {
|
|
|
|
"^.+\\.tsx?$": "ts-jest"
|
|
|
|
},
|
|
|
|
"testRegex": "(test|spec)\\.tsx?$",
|
|
|
|
"moduleFileExtensions": [
|
|
|
|
"ts",
|
|
|
|
"tsx",
|
|
|
|
"js",
|
|
|
|
"jsx",
|
|
|
|
"json",
|
|
|
|
"node"
|
2018-09-06 01:15:07 -05:00
|
|
|
],
|
|
|
|
"verbose": true,
|
|
|
|
"collectCoverage": true,
|
|
|
|
"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",
|
|
|
|
["./node_modules/jest-html-reporter", {
|
|
|
|
"pageTitle": "Symphony Electron Test Result",
|
|
|
|
"includeFailureMsg": true,
|
|
|
|
"includeConsoleLog": true,
|
|
|
|
"theme": "lightTheme",
|
|
|
|
"sort": "status",
|
2019-08-27 06:08:26 -05:00
|
|
|
"outputPath": "./dist/coverage/UnitTestsReport.html"
|
2018-09-06 01:15:07 -05:00
|
|
|
}]
|
2019-03-06 10:30:55 -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
|
|
|
}
|