Define interface for RLS to ease wiring in Sliding Sync (#9150)

* Define iface for RLS

* Iterate interface
This commit is contained in:
Michael Telatynski 2022-08-09 20:46:59 +01:00 committed by GitHub
parent 736d8dfec7
commit 394e181854
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 118 additions and 14 deletions

View file

@ -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();
});