mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-07 06:58:25 +00:00
Comment why we don't expect joining flag to reset
This commit is contained in:
@@ -176,6 +176,10 @@ describe('joining a room', function () {
|
|||||||
|
|
||||||
return Promise.delay(1);
|
return Promise.delay(1);
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
|
// NB. we don't expect the 'joining' flag to reset at any point:
|
||||||
|
// it will stay set and we observe whether we have Room object for
|
||||||
|
// the room and whether our member event shows we're joined.
|
||||||
|
|
||||||
// now send the room down the /sync pipe
|
// now send the room down the /sync pipe
|
||||||
httpBackend.when('GET', '/sync').
|
httpBackend.when('GET', '/sync').
|
||||||
respond(200, {
|
respond(200, {
|
||||||
|
|||||||
Reference in New Issue
Block a user