mock getMembers on mkStubRoom

pull/21833/head
Michael Telatynski 2021-05-19 12:34:27 +01:00
parent e18120f412
commit 88d3706c04
1 changed files with 1 additions and 0 deletions

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,