mock getMembers on mkStubRoom

This commit is contained in:
Michael Telatynski 2021-05-19 12:34:27 +01:00
parent e18120f412
commit 88d3706c04

View file

@ -234,6 +234,7 @@ export function mkStubRoom(roomId = null) {
}),
getMembersWithMembership: jest.fn().mockReturnValue([]),
getJoinedMembers: jest.fn().mockReturnValue([]),
getMembers: jest.fn().mockReturnValue([]),
getPendingEvents: () => [],
getLiveTimeline: () => stubTimeline,
getUnfilteredTimelineSet: () => null,