Change settings to true by default (#25)
This commit is contained in:
parent
07125f554d
commit
03004a55fd
7 changed files with 5 additions and 6 deletions
|
@ -571,7 +571,10 @@ export function mkStubRoom(
|
|||
name: string | undefined,
|
||||
client: MatrixClient | undefined,
|
||||
): Room {
|
||||
const stubTimeline = { getEvents: (): MatrixEvent[] => [] } as unknown as EventTimeline;
|
||||
const stubTimeline = {
|
||||
getEvents: (): MatrixEvent[] => [],
|
||||
getState: (): RoomState | undefined => undefined,
|
||||
} as unknown as EventTimeline;
|
||||
return {
|
||||
canInvite: jest.fn(),
|
||||
client,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue