mirror of
https://github.com/atom/atom.git
synced 2026-01-24 14:28:14 -05:00
✅ Fix main process tests
This commit is contained in:
committed by
Katrina Uychaco
parent
e80220ab1e
commit
ed2c399997
@@ -367,6 +367,7 @@ describe('AtomApplication', function () {
|
||||
const [app2Window1, app2Window2] = atomApplication2.launch(parseCommandLine([]))
|
||||
await app2Window1.loadedPromise
|
||||
await app2Window2.loadedPromise
|
||||
await new Promise(resolve => setTimeout(resolve, 500)) // session restoration is async
|
||||
|
||||
assert.deepEqual(await getTreeViewRootDirectories(app2Window1), [tempDirPath1])
|
||||
assert.deepEqual(await getTreeViewRootDirectories(app2Window2), [tempDirPath2])
|
||||
|
||||
Reference in New Issue
Block a user