element-web-Github/test/unit-tests
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
..
__snapshots__
accessibility
actions/handlers
async-components Replace Matrix.getKeyBackupEnabled by MatrixClient.CryptoApi.getActiveSessionBackupVersion (#28225) 2024-10-18 09:45:45 +00:00
audio
autocomplete
components First batch: remove deprecated calls on MatrixClient (#28207) 2024-10-21 12:53:39 +01:00
contexts Migrate to stylistic 2024-10-18 14:34:01 +01:00
customisations
dispatcher
editor
events
hooks
i18n
images
img
integrations
models Migrate to stylistic 2024-10-18 14:34:01 +01:00
modules Iterate 2024-10-15 16:22:11 +01:00
notifications
settings
stores Migrate to stylistic 2024-10-18 14:34:01 +01:00
toasts First batch: remove deprecated calls on MatrixClient (#28207) 2024-10-21 12:53:39 +01:00
utils Iterate 2024-10-18 14:34:02 +01:00
vector Migrate to stylistic 2024-10-18 14:34:01 +01:00
voice-broadcast Migrate to stylistic 2024-10-18 14:34:01 +01:00
widgets
Avatar-test.ts
ContentMessages-test.ts Replace MatrixClient.isRoomEncrypted by MatrixClient.CryptoApi.isEncryptionEnabledInRoom in ContentMessages.ts (#28238) 2024-10-18 14:44:56 +00:00
createRoom-test.ts
DecryptionFailureTracker-test.ts Use new CryptoEvent import (#128) 2024-10-16 12:56:10 +01:00
DeviceListener-test.ts Use new CryptoEvent import (#128) 2024-10-16 12:56:10 +01:00
email-test.ts
favicon-test.ts
HtmlUtils-test.tsx
Image-test.ts
KeyBindingsManager-test.ts
languageHandler-test.tsx
LegacyCallHandler-test.ts
Lifecycle-test.ts Fix test 2024-10-18 13:38:25 +01:00
linkify-matrix-test.ts
Markdown-test.ts
MatrixClientPeg-test.ts First batch: remove deprecated calls on MatrixClient (#28207) 2024-10-21 12:53:39 +01:00
MediaDeviceHandler-test.ts
Modal-test.ts
Notifier-test.ts
PosthogAnalytics-test.ts
PreferredRoomVersions-test.ts
README.md
Reply-test.ts
RoomNotifs-test.ts
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SecurityManager-test.ts
SlashCommands-test.tsx Remove references to MatrixClient.crypto (#28204) 2024-10-17 08:50:44 +01:00
SlidingSyncManager-test.ts
submit-rageshake-test.ts
SupportedBrowser-test.ts Update browserslist (#28199) 2024-10-17 08:50:45 +01:00
Terms-test.tsx Migrate to stylistic 2024-10-18 14:34:01 +01:00
TestSdkContext.ts
TextForEvent-test.ts
theme-test.ts
TimezoneHandler-test.ts
Unread-test.ts
UserActivity-test.ts
useTopic-test.tsx
WorkerManager-test.ts

Any UTs for vector-web layer components or functionality should go here. This used to contain the UTs for notifications before they got moved to react-sdk.