Test for window restoration on launch, not open

This commit is contained in:
Ash Wilson
2019-04-18 17:13:03 -04:00
parent c6652e1b29
commit e782cea2bf

View File

@@ -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 _]')
})
})
})
})