mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-22 08:57:00 -06:00
670735a4e9
* adding enzyme * download manager unit test
44 lines
837 B
JSON
44 lines
837 B
JSON
{
|
|
"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": "out/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": "./out/Unit Tests Report.html"
|
|
}]
|
|
],
|
|
"setupFiles": [
|
|
"./spec/setup/test-setup.js"
|
|
]
|
|
}
|