Add stub for getVisibleRooms()
Fixes the tests
This commit is contained in:
parent
2816175393
commit
cb84feefa9
2 changed files with 2 additions and 0 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue