Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

Commit

Permalink
👕
Browse files Browse the repository at this point in the history
Co-authored-by: Antonio Scandurra <[email protected]>
  • Loading branch information
jasonrudolph and Antonio Scandurra committed Apr 9, 2018
1 parent dca9a99 commit 0149cee
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/portal-binding-manager.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,12 @@ suite('PortalBindingManager', () => {
test('excludes portals that could not be joined', async () => {
const manager = buildPortalBindingManager()

const portalBinding1Promise = manager.createGuestPortalBinding('1')
manager.createGuestPortalBinding('1')
manager.client.resolveLastJoinPortalPromise(null)
const portalBinding2Promise = manager.createGuestPortalBinding('2')
const portal2BindingPromise = manager.createGuestPortalBinding('2')
manager.client.resolveLastJoinPortalPromise(buildPortal())

assert.deepEqual(await manager.getGuestPortalBindings(), [await portalBinding2Promise])
assert.deepEqual(await manager.getGuestPortalBindings(), [await portal2BindingPromise])
})
})
})
Expand Down

0 comments on commit 0149cee

Please sign in to comment.