Explicitly save window states in main process test

This commit is contained in:
Max Brunsfeld
2017-02-14 12:40:00 -08:00
parent ee962052b2
commit ec0270b250

View File

@@ -207,6 +207,7 @@ describe('AtomApplication', function () {
}
})
})
await window1.saveState()
window1.close()
await window1.closedPromise
@@ -222,6 +223,7 @@ describe('AtomApplication', function () {
})
})
assert.equal(window2Text, 'Hello World! How are you?')
await window2.saveState()
window2.close()
await window2.closedPromise