From 3e55a456019a5016b5e196ac5da7cd987af7a71b Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Thu, 3 May 2018 15:24:41 +0100 Subject: [PATCH] Mock getGroups on MatrixClient for RoomList _makeGroupInviteTiles --- test/test-utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test-utils.js b/test/test-utils.js index e7d3412722..fb21c62170 100644 --- a/test/test-utils.js +++ b/test/test-utils.js @@ -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(),