mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Explicitly save window states in main process test
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user