mirror of
https://github.com/atom/atom.git
synced 2026-01-25 23:08:18 -05:00
Test for window restoration on launch, not open
This commit is contained in:
@@ -130,6 +130,12 @@ describe('AtomApplication', function () {
|
||||
await scenario.launch({app, newWindow: true})
|
||||
await scenario.assert('[_ _]')
|
||||
})
|
||||
|
||||
it("doesn't restore windows on open, just launch", async function () {
|
||||
await scenario.launch({app, pathsToOpen: ['a'], newWindow: true})
|
||||
await scenario.open(parseCommandLine(['b']))
|
||||
await scenario.assert('[a _] [b _]')
|
||||
})
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user