Fix access to deprecated methods in SetupEncryptionStore
(#11107)
* Fix access to deprecated methods in `SetupEncryptionStore` * Updte tests * more tests
This commit is contained in:
parent
a491795aa7
commit
8570f16e31
3 changed files with 110 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue