Mock getGroups on MatrixClient for RoomList _makeGroupInviteTiles
This commit is contained in:
parent
dc20f32ad7
commit
3e55a45601
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ export function createTestClient() {
|
||||||
getPushActionsForEvent: sinon.stub(),
|
getPushActionsForEvent: sinon.stub(),
|
||||||
getRoom: sinon.stub().returns(mkStubRoom()),
|
getRoom: sinon.stub().returns(mkStubRoom()),
|
||||||
getRooms: sinon.stub().returns([]),
|
getRooms: sinon.stub().returns([]),
|
||||||
|
getGroups: sinon.stub().returns([]),
|
||||||
loginFlows: sinon.stub(),
|
loginFlows: sinon.stub(),
|
||||||
on: sinon.stub(),
|
on: sinon.stub(),
|
||||||
removeListener: sinon.stub(),
|
removeListener: sinon.stub(),
|
||||||
|
|
Loading…
Reference in a new issue