1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-08-06 16:22:46 +03:00

Replace MatrixClient.prepareToEncrypt by MatrixClient.getCrypto.prepareToEncrypt (#146)

This commit is contained in:
Florian Duros
2024-10-15 09:50:38 +02:00
committed by GitHub
parent 503d9004d1
commit bce02634f7
5 changed files with 6 additions and 7 deletions

View File

@@ -133,6 +133,7 @@ export function createTestClient(): MatrixClient {
isEncryptionEnabledInRoom: jest.fn(),
getVerificationRequestsToDeviceInProgress: jest.fn().mockReturnValue([]),
setDeviceIsolationMode: jest.fn(),
prepareToEncrypt: jest.fn(),
}),
getPushActionsForEvent: jest.fn(),