From 34167d426fec22c66461b0824fb060c68106a7ac Mon Sep 17 00:00:00 2001 From: Ash Wilson Date: Fri, 4 Jan 2019 11:07:06 -0500 Subject: [PATCH] Adjust tests to use --add when necessary --- spec/main-process/atom-application.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/main-process/atom-application.test.js b/spec/main-process/atom-application.test.js index f9ce18257..aae7f4d71 100644 --- a/spec/main-process/atom-application.test.js +++ b/spec/main-process/atom-application.test.js @@ -375,7 +375,7 @@ describe('AtomApplication', function () { const [window] = await atomApplication.launch(parseCommandLine(['--wait', '--pid', '101', projectDir])) await focusWindow(window) - const [reusedWindow] = await atomApplication.launch(parseCommandLine(['--wait', '--pid', '102', filePath1, filePath2])) + const [reusedWindow] = await atomApplication.launch(parseCommandLine(['--add', '--wait', '--pid', '102', filePath1, filePath2])) assert.equal(reusedWindow, window) const activeEditorPath = await evalInWebContents(window.browserWindow.webContents, send => {