mirror of
https://github.com/vector-im/element-web.git
synced 2025-11-02 09:11:47 +01:00
Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
commit
7f4227a76e
@ -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) => {
|
||||
|
||||
@ -74,6 +74,7 @@ export function createTestClient() {
|
||||
getPushActionsForEvent: sinon.stub(),
|
||||
getRoom: sinon.stub().returns(mkStubRoom()),
|
||||
getRooms: sinon.stub().returns([]),
|
||||
getVisibleRooms: sinon.stub().returns([]),
|
||||
getGroups: sinon.stub().returns([]),
|
||||
loginFlows: sinon.stub(),
|
||||
on: sinon.stub(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user