Remove references to MatrixClient.crypto (#28204)

* Remove `VerificationExplorer`

* Remove `remakeolm` slash command

* Remove call to `crypto.cancelAndResendAllOutgoingKeyRequests`

* Remove crypto mock in `LoginWithQR-test.tsx`

* Remove `StopGadWidgetDriver.sendToDevice`

* Remove remaining mock
This commit is contained in:
Florian Duros 2024-10-16 16:13:14 +02:00 committed by Michael Telatynski
parent ea5cba3649
commit 7236953d07
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D
12 changed files with 0 additions and 380 deletions

View file

@ -51,7 +51,6 @@ function makeClient() {
},
getClientWellKnown: jest.fn().mockReturnValue({}),
getCrypto: jest.fn().mockReturnValue({}),
crypto: {},
} as unknown as MatrixClient);
}
@ -194,7 +193,6 @@ describe("<LoginWithQR />", () => {
});
test("approve - no crypto", async () => {
(client as any).crypto = undefined;
(client as any).getCrypto = () => undefined;
const onFinished = jest.fn();
render(getComponent({ client, onFinished }));