Define interface for RLS to ease wiring in Sliding Sync (#9150)
* Define iface for RLS * Iterate interface
This commit is contained in:
parent
736d8dfec7
commit
394e181854
5 changed files with 118 additions and 14 deletions
|
@ -137,7 +137,7 @@ describe('RoomList', () => {
|
|||
client.getRoom.mockImplementation((roomId) => roomMap[roomId]);
|
||||
|
||||
// Now that everything has been set up, prepare and update the store
|
||||
await RoomListStore.instance.makeReady(client);
|
||||
await (RoomListStore.instance as RoomListStoreClass).makeReady(client);
|
||||
|
||||
done();
|
||||
});
|
||||
|
@ -150,7 +150,7 @@ describe('RoomList', () => {
|
|||
}
|
||||
|
||||
await RoomListLayoutStore.instance.resetLayouts();
|
||||
await RoomListStore.instance.resetStore();
|
||||
await (RoomListStore.instance as RoomListStoreClass).resetStore();
|
||||
|
||||
done();
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue