mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Adjust tests to use --add when necessary
This commit is contained in:
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user