mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Merge pull request #5053 from vector-im/dbkr/3pid_invite_update_when_joined
Fix test for new behaviour of 'joining' flag
This commit is contained in:
commit
ff8bc1ca68
@ -176,8 +176,9 @@ describe('joining a room', function () {
|
|||||||
|
|
||||||
return Promise.delay(1);
|
return Promise.delay(1);
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
// We've joined, expect this to false
|
// NB. we don't expect the 'joining' flag to reset at any point:
|
||||||
expect(roomView.state.joining).toBe(false);
|
// 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').
|
||||||
|
Loading…
Reference in New Issue
Block a user