Prevent soft crash around room list header context menu when space changes (#8289)
This commit is contained in:
parent
59fda5273f
commit
8cd715c6a3
3 changed files with 148 additions and 2 deletions
|
@ -379,6 +379,7 @@ export function mkStubRoom(roomId: string = null, name: string, client: MatrixCl
|
|||
getJoinRule: jest.fn().mockReturnValue("invite"),
|
||||
loadMembersIfNeeded: jest.fn(),
|
||||
client,
|
||||
canInvite: jest.fn(),
|
||||
} as unknown as Room;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue