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"
|
|
|
|
],
|
|
|
|
"coverageDirectory": "out/coverage",
|
|
|
|
"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",
|
|
|
|
"outputPath": "./out/Unit Tests Report.html"
|
|
|
|
}]
|
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
|
|
|
}
|