mirror of https://github.com/vector-im/riot-web
Mock getGroups on MatrixClient for RoomList _makeGroupInviteTiles
parent
dc20f32ad7
commit
3e55a45601
|
@ -74,6 +74,7 @@ export function createTestClient() {
|
|||
getPushActionsForEvent: sinon.stub(),
|
||||
getRoom: sinon.stub().returns(mkStubRoom()),
|
||||
getRooms: sinon.stub().returns([]),
|
||||
getGroups: sinon.stub().returns([]),
|
||||
loginFlows: sinon.stub(),
|
||||
on: sinon.stub(),
|
||||
removeListener: sinon.stub(),
|
||||
|
|
Loading…
Reference in New Issue