mock getMembers on mkStubRoom
This commit is contained in:
parent
e18120f412
commit
88d3706c04
1 changed files with 1 additions and 0 deletions
|
@ -234,6 +234,7 @@ export function mkStubRoom(roomId = null) {
|
||||||
}),
|
}),
|
||||||
getMembersWithMembership: jest.fn().mockReturnValue([]),
|
getMembersWithMembership: jest.fn().mockReturnValue([]),
|
||||||
getJoinedMembers: jest.fn().mockReturnValue([]),
|
getJoinedMembers: jest.fn().mockReturnValue([]),
|
||||||
|
getMembers: jest.fn().mockReturnValue([]),
|
||||||
getPendingEvents: () => [],
|
getPendingEvents: () => [],
|
||||||
getLiveTimeline: () => stubTimeline,
|
getLiveTimeline: () => stubTimeline,
|
||||||
getUnfilteredTimelineSet: () => null,
|
getUnfilteredTimelineSet: () => null,
|
||||||
|
|
Loading…
Reference in a new issue