You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-28 15:22:05 +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