1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Prevent soft crash around room list header context menu when space changes (#8289)

This commit is contained in:
Michael Telatynski
2022-04-12 15:23:04 +01:00
committed by GitHub
parent 59fda5273f
commit 8cd715c6a3
3 changed files with 148 additions and 2 deletions

View File

@ -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;
}