From b61a24ef26df24a14a5a655b5dcc42989fbf980b Mon Sep 17 00:00:00 2001 From: Pavel Evstigneev Date: Tue, 19 Nov 2019 15:36:51 +0800 Subject: [PATCH] Fix tests --- app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.js b/app.js index b4bfc1b..45fede0 100644 --- a/app.js +++ b/app.js @@ -80,7 +80,7 @@ global.App = { // used for running binaries inside asar package vendorPath: process.mainModule.filename.includes('app.asar') ? path.join(process.mainModule.filename, `../../../vendor/${process.platform}`) : - path.join(process.mainModule.filename.replace('node_modules/electron-mocha/index.js', 'index.html'), `../vendor/${process.platform}`), + path.join(process.mainModule.filename.replace('node_modules/electron-mocha/lib/main.js', 'index.html'), `../vendor/${process.platform}`), activeTab: null, tabs: [], // {name, content, is_active}