mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Fix a broken test
turns out that you could call defer.resolve on q defers as an unbound function, whereas that doesn't work with bluebird promises.
This commit is contained in:
parent
1d2d086a58
commit
69eb1a49d4
@ -139,7 +139,7 @@ describe('loading:', function () {
|
||||
realQueryParams={params}
|
||||
startingFragmentQueryParams={fragParts.params}
|
||||
enableGuest={true}
|
||||
onTokenLoginCompleted={tokenLoginCompleteDefer.resolve}
|
||||
onTokenLoginCompleted={() => tokenLoginCompleteDefer.resolve()}
|
||||
initialScreenAfterLogin={getScreenFromLocation(windowLocation)}
|
||||
makeRegistrationUrl={() => {throw new Error('Not implemented');}}
|
||||
/>, parentDiv
|
||||
|
Loading…
Reference in New Issue
Block a user