You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-15 11:01:52 +03:00
Mock getGroups on MatrixClient for RoomList _makeGroupInviteTiles
This commit is contained in:
@ -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(),
|
||||||
|
Reference in New Issue
Block a user