You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-08-08 03:42:14 +03:00
Prevent soft crash around room list header context menu when space changes (#8289)
This commit is contained in:
committed by
GitHub
parent
59fda5273f
commit
8cd715c6a3
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user