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

Add new tests for WysiwygComposer

This commit is contained in:
Florian Duros
2022-10-21 19:26:33 +02:00
parent c9bf7da629
commit 50c29502e4
11 changed files with 774 additions and 357 deletions

View File

@ -178,6 +178,7 @@ export function createTestClient(): MatrixClient {
sendToDevice: jest.fn().mockResolvedValue(undefined),
queueToDevice: jest.fn().mockResolvedValue(undefined),
encryptAndSendToDevices: jest.fn().mockResolvedValue(undefined),
cancelPendingEvent: jest.fn(),
getMediaHandler: jest.fn().mockReturnValue({
setVideoInput: jest.fn(),