mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Fix test for new behaviour of 'joining' flag
It's no longer reset when the join request completes, so don't assert it. (The important test is later, asserting that the room object is non-null).
This commit is contained in:
parent
f148844573
commit
30efd02d22
@ -176,9 +176,6 @@ describe('joining a room', function () {
|
||||
|
||||
return Promise.delay(1);
|
||||
}).then(() => {
|
||||
// We've joined, expect this to false
|
||||
expect(roomView.state.joining).toBe(false);
|
||||
|
||||
// now send the room down the /sync pipe
|
||||
httpBackend.when('GET', '/sync').
|
||||
respond(200, {
|
||||
|
Loading…
Reference in New Issue
Block a user