mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-24 09:08:18 +00:00
Add stub for getVisibleRooms()
Fixes the tests
This commit is contained in:
@@ -94,6 +94,7 @@ describe('RoomList', () => {
|
||||
createRoom({tags: {'m.lowpriority': {}}, name: 'Some unimportant room'}),
|
||||
createRoom({tags: {'custom.tag': {}}, name: 'Some room customly tagged'}),
|
||||
];
|
||||
client.getVisibleRooms = client.getRooms;
|
||||
|
||||
const roomMap = {};
|
||||
client.getRooms().forEach((r) => {
|
||||
|
||||
Reference in New Issue
Block a user