mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-19 23:17:16 +03:00
✅ Fix main process tests
This commit is contained in:
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])
|
||||
|
Loading…
Reference in New Issue
Block a user