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

View File

@@ -6,7 +6,6 @@ const app = electron.app;
const crashReporter = electron.crashReporter;
const nodeURL = require('url');
const shellPath = require('shell-path');
const squirrelStartup = require('electron-squirrel-startup');
const urlParser = require('url');
const nodePath = require('path');
const compareSemVersions = require('./utils/compareSemVersions.js');
@@ -45,11 +44,6 @@ shellPath()
// used to check if a url was opened when the app was already open
let isAppAlreadyOpen = false;
// exit early for squirrel installer
if (squirrelStartup) {
return;
}
require('./mainApiMgr.js');
// monitor memory of main process