Mock getGroups on MatrixClient for RoomList _makeGroupInviteTiles

pull/21833/head
Luke Barnard 2018-05-03 15:24:41 +01:00
parent dc20f32ad7
commit 3e55a45601
1 changed files with 1 additions and 0 deletions

View File

@ -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(),