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

Commit 5660b2a

Browse files
committed
Remove MatrixClient.downloadKeys mocking
1 parent e26245b commit 5660b2a

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

test/components/views/right_panel/UserInfo-test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,6 @@ beforeEach(() => {
160160
getRoom: jest.fn(),
161161
credentials: {},
162162
setPowerLevel: jest.fn(),
163-
downloadKeys: jest.fn(),
164163
getCrypto: jest.fn().mockReturnValue(mockCrypto),
165164
} as unknown as MatrixClient);
166165

test/test-utils/test-utils.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ export function createTestClient(): MatrixClient {
214214
}),
215215
hasLazyLoadMembersEnabled: jest.fn().mockReturnValue(false),
216216
isInitialSyncComplete: jest.fn().mockReturnValue(true),
217-
downloadKeys: jest.fn(),
218217
fetchRoomEvent: jest.fn().mockRejectedValue({}),
219218
makeTxnId: jest.fn().mockImplementation(() => `t${txnId++}`),
220219
sendToDevice: jest.fn().mockResolvedValue(undefined),

0 commit comments

Comments
 (0)