From 58bd9bfa33ff78e8667638e2696578c7b0ebd281 Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Tue, 16 Apr 2019 15:59:46 -0400 Subject: [PATCH] Don't open all precondition windows twice (oops) --- spec/main-process/atom-application.new.test.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/spec/main-process/atom-application.new.test.js b/spec/main-process/atom-application.new.test.js index e7f271543..17b48bd37 100644 --- a/spec/main-process/atom-application.new.test.js +++ b/spec/main-process/atom-application.new.test.js @@ -160,12 +160,6 @@ class LaunchScenario { await emitterEventPromise(window, 'window:locations-opened') return window })(app, fullRootPaths, fullEditorPaths)) - - windowPromises.push(app.openPaths({ - newWindow: true, - foldersToOpen: fullRootPaths, - pathsToOpen: fullEditorPaths - })) } for (const window of await Promise.all(windowPromises)) { this.windows.add(window)