Mock getGroups on MatrixClient for RoomList _makeGroupInviteTiles

This commit is contained in:
Luke Barnard 2018-05-03 15:24:41 +01:00
parent dc20f32ad7
commit 3e55a45601

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