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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);