element-web/test/test-utils
Florian Duros 46d13921d0
First batch: remove deprecated calls on MatrixClient (#28207)
* Remove `initCrypto` mocking

* Remove `MatrixClient.downloadKeys` mocking

* Remove `MatrixClient.getStoredDevice` mocking

* Replace `MatrixClient.setGlobalBlacklistUnverifiedDevices` by `MatrixClient.CryptoApi.globalBlacklistUnverifiedDevices`

* Remove `MatrixClient.getStoredCrossSigningForUser` mocking

* Replace `MatrixClient.legacyDeviceVerification` by `MatrixClient.CryptoApi.requestDeviceVerification`

* Remove `MatrixClient.isCrossSigningReady` mock

* Replace `MatrixClient.bootstrapCrossSigning` by `MatrixClient.getCrypto.bootstrapCrossSigning`

* Replace `MatrixClient.getCryptoTrustCrossSignedDevices` by `MatrixClient.getCrypto.getTrustCrossSignedDevices`

* Replace `MatrixClient.hasSecretStorageKey` by `MatrixClient.SecretStorage.hasKey`

* Replace `MatrixClient.getDefaultSecretStorageKeyId` by `MatrixClient.SecretStorage.getDefaultKeyId`

* Remove `MatrixClient.encryptAndSendToDevices` call
2024-10-21 12:53:39 +01:00
..
audio.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
beacon.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
call.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
client.ts First batch: remove deprecated calls on MatrixClient (#28207) 2024-10-21 12:53:39 +01:00
composer.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
console.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
date.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
events.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
index.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
jest-matrix-react.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
location.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
oidc.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
platform.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
poll.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
predictableRandom.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
pushRules.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
relations.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
room.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
test-utils.ts First batch: remove deprecated calls on MatrixClient (#28207) 2024-10-21 12:53:39 +01:00
threads.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
utilities.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
wrappers.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00