mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-26 08:51:22 -06:00
4f9cda067d
* SDA-3937 FOUC fix * SDA-3937 FOUC fix for title bar on Windows * SDA-3937 FOUC fix for title bar on Windows * SDA-3937 FOUC fix for title bar on Windows
35 lines
925 B
JSON
35 lines
925 B
JSON
{
|
|
"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"]
|
|
}
|