1
0
mirror of https://github.com/element-hq/element-web.git synced 2025-08-08 03:42:14 +03:00

Replace MatrixClient.checkSecretStorageKey by MatrixClient.SecretStorage.checkKey (#142)

This commit is contained in:
Florian Duros
2024-10-14 17:08:42 +02:00
committed by GitHub
parent 03186e4a4d
commit 3bc0439fd2
4 changed files with 8 additions and 10 deletions

View File

@@ -109,6 +109,7 @@ export function createTestClient(): MatrixClient {
secretStorage: {
get: jest.fn(),
isStored: jest.fn().mockReturnValue(false),
checkKey: jest.fn().mockResolvedValue(false),
},
store: {