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

Commit cb26b02

Browse files
committed
Remove remaining mock
1 parent ae4d223 commit cb26b02

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

test/components/views/settings/devices/LoginWithQR-test.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ function makeClient() {
5252
},
5353
getClientWellKnown: jest.fn().mockReturnValue({}),
5454
getCrypto: jest.fn().mockReturnValue({}),
55-
crypto: {},
5655
} as unknown as MatrixClient);
5756
}
5857

test/test-utils/test-utils.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,6 @@ export function createTestClient(): MatrixClient {
119119
removeRoom: jest.fn(),
120120
},
121121

122-
crypto: {
123-
deviceList: {
124-
downloadKeys: jest.fn(),
125-
},
126-
},
127122
getCrypto: jest.fn().mockReturnValue({
128123
getOwnDeviceKeys: jest.fn(),
129124
getUserDeviceInfo: jest.fn(),

0 commit comments

Comments
 (0)