1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-30 02:21:17 +03:00

Fix access to deprecated methods in SetupEncryptionStore (#11107)

* Fix access to deprecated methods in `SetupEncryptionStore`

* Updte tests

* more tests
This commit is contained in:
Richard van der Hoff
2023-06-19 23:20:14 +01:00
committed by GitHub
parent a491795aa7
commit 8570f16e31
3 changed files with 110 additions and 11 deletions

View File

@ -239,6 +239,7 @@ export function createTestClient(): MatrixClient {
setDeviceVerified: jest.fn(),
joinRoom: jest.fn(),
getSyncStateData: jest.fn(),
getDehydratedDevice: jest.fn(),
} as unknown as MatrixClient;
client.reEmitter = new ReEmitter(client);