SymphonyElectron/jest-config.json
Vishwas Shashidhar 14e6975590 build scripts
- create build script for macOS
- create build script for linux
- create build script for windows
- create build script for windows x86
2019-08-27 16:38:26 +05:30

45 lines
902 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": "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"]
}