Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit b2aee04

Browse files
committed
Fix test
1 parent b010525 commit b2aee04

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test-utils/client.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export const mockClientMethodsUser = (userId = "@alice:domain") => ({
107107
getAccessToken: jest.fn(),
108108
getDeviceId: jest.fn(),
109109
getAccountData: jest.fn(),
110+
getCrypto: jest.fn(),
110111
});
111112

112113
/**
@@ -134,6 +135,7 @@ export const mockClientMethodsServer = (): Partial<Record<MethodLikeKeys<MatrixC
134135
isVersionSupported: jest.fn().mockResolvedValue(false),
135136
getVersions: jest.fn().mockResolvedValue({}),
136137
isFallbackICEServerAllowed: jest.fn(),
138+
getCrypto: jest.fn(),
137139
});
138140

139141
export const mockClientMethodsDevice = (

0 commit comments

Comments
 (0)