mock getMembers on mkStubRoom
parent
e18120f412
commit
88d3706c04
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue