mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-08 07:28:26 +00: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:
@@ -139,7 +139,7 @@ describe('loading:', function () {
|
|||||||
realQueryParams={params}
|
realQueryParams={params}
|
||||||
startingFragmentQueryParams={fragParts.params}
|
startingFragmentQueryParams={fragParts.params}
|
||||||
enableGuest={true}
|
enableGuest={true}
|
||||||
onTokenLoginCompleted={tokenLoginCompleteDefer.resolve}
|
onTokenLoginCompleted={() => tokenLoginCompleteDefer.resolve()}
|
||||||
initialScreenAfterLogin={getScreenFromLocation(windowLocation)}
|
initialScreenAfterLogin={getScreenFromLocation(windowLocation)}
|
||||||
makeRegistrationUrl={() => {throw new Error('Not implemented');}}
|
makeRegistrationUrl={() => {throw new Error('Not implemented');}}
|
||||||
/>, parentDiv
|
/>, parentDiv
|
||||||
|
|||||||
Reference in New Issue
Block a user