pull/28217/head
Kegan Dougal 2023-01-20 12:46:51 +00:00
parent 6a75054e1a
commit 744abd935e
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ describe("SlidingRoomListStore", () => {
joinedCount: joinCount, joinedCount: joinCount,
}; };
}); });
let p = untilEmission(store, LISTS_UPDATE_EVENT); const p = untilEmission(store, LISTS_UPDATE_EVENT);
context.slidingSyncManager.slidingSync.emit(SlidingSyncEvent.List, tagId, joinCount, roomIndexToRoomId); context.slidingSyncManager.slidingSync.emit(SlidingSyncEvent.List, tagId, joinCount, roomIndexToRoomId);
await p; await p;
expect(store.orderedLists[tagId]).toEqual([roomA, roomC]); expect(store.orderedLists[tagId]).toEqual([roomA, roomC]);