Patch over legacy Groups test
parent
746856ed10
commit
a0049f956d
|
@ -296,6 +296,11 @@ describe('RoomList', () => {
|
||||||
GroupStore._notifyListeners();
|
GroupStore._notifyListeners();
|
||||||
|
|
||||||
await waitForRoomListStoreUpdate();
|
await waitForRoomListStoreUpdate();
|
||||||
|
|
||||||
|
// XXX: Even though the store updated, it can take a bit before the update makes
|
||||||
|
// it to the components. This gives it plenty of time to figure out what to do.
|
||||||
|
await (new Promise(resolve => setTimeout(resolve, 500)));
|
||||||
|
|
||||||
expectRoomInSubList(otherRoom, (s) => s.props.tagId === DefaultTagID.Untagged);
|
expectRoomInSubList(otherRoom, (s) => s.props.tagId === DefaultTagID.Untagged);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue