Replace MatrixClient.checkSecretStorageKey
by MatrixClient.SecretStorage.checkKey
(#142)
This commit is contained in:
parent
03186e4a4d
commit
3bc0439fd2
4 changed files with 8 additions and 10 deletions
|
@ -109,6 +109,7 @@ export function createTestClient(): MatrixClient {
|
|||
secretStorage: {
|
||||
get: jest.fn(),
|
||||
isStored: jest.fn().mockReturnValue(false),
|
||||
checkKey: jest.fn().mockResolvedValue(false),
|
||||
},
|
||||
|
||||
store: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue