refactoring

- move the jest configuration files to the root directory
- remove squirrel installer startup check
- increase coverage for protocol handler
- update package.json as per the above
This commit is contained in:
Vishwas Shashidhar
2018-09-06 11:45:07 +05:30
parent b4c559c3ee
commit a28fd90b09
9 changed files with 73 additions and 37 deletions

28
jest.spectron.config.json Normal file
View File

@@ -0,0 +1,28 @@
{
"testMatch": [
"**/*.spectron.js"
],
"verbose": true,
"collectCoverage": true,
"coverageReporters": [
"text",
"html"
],
"coverageDirectory": "out/coverage",
"collectCoverageFrom": [
"js/**/*.js",
"!**/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/Spectron Tests Report.html"
}]
]
}