Skip to content

Commit c32e736

Browse files
committed
Comment why we don't expect joining flag to reset
1 parent 30efd02 commit c32e736

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

test/app-tests/joining.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,10 @@ describe('joining a room', function () {
176176

177177
return Promise.delay(1);
178178
}).then(() => {
179+
// NB. we don't expect the 'joining' flag to reset at any point:
180+
// it will stay set and we observe whether we have Room object for
181+
// the room and whether our member event shows we're joined.
182+
179183
// now send the room down the /sync pipe
180184
httpBackend.when('GET', '/sync').
181185
respond(200, {

0 commit comments

Comments
 (0)