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
More pinned messages tests (#7988)
* Test basic pinned message functionality Signed-off-by: Robin Townsend <robin@robin.town> * Test pinned polls Signed-off-by: Robin Townsend <robin@robin.town> * Fix test Signed-off-by: Robin Townsend <robin@robin.town>
This commit is contained in:
@@ -334,6 +334,7 @@ export function mkStubRoom(roomId = null, name: string, client: MatrixClient): R
|
||||
getMember: jest.fn(),
|
||||
mayClientSendStateEvent: jest.fn().mockReturnValue(true),
|
||||
maySendStateEvent: jest.fn().mockReturnValue(true),
|
||||
maySendRedactionForEvent: jest.fn().mockReturnValue(true),
|
||||
maySendEvent: jest.fn().mockReturnValue(true),
|
||||
members: {},
|
||||
getJoinRule: jest.fn().mockReturnValue(JoinRule.Invite),
|
||||
|
Reference in New Issue
Block a user