mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-24 01:20:32 +08:00
46d13921d0
* 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 |
||
---|---|---|
.. | ||
__snapshots__ | ||
accessibility | ||
actions/handlers | ||
async-components | ||
audio | ||
autocomplete | ||
components | ||
contexts | ||
customisations | ||
dispatcher | ||
editor | ||
events | ||
hooks | ||
i18n | ||
images | ||
img | ||
integrations | ||
models | ||
modules | ||
notifications | ||
settings | ||
stores | ||
toasts | ||
utils | ||
vector | ||
voice-broadcast | ||
widgets | ||
Avatar-test.ts | ||
ContentMessages-test.ts | ||
createRoom-test.ts | ||
DecryptionFailureTracker-test.ts | ||
DeviceListener-test.ts | ||
email-test.ts | ||
favicon-test.ts | ||
HtmlUtils-test.tsx | ||
Image-test.ts | ||
KeyBindingsManager-test.ts | ||
languageHandler-test.tsx | ||
LegacyCallHandler-test.ts | ||
Lifecycle-test.ts | ||
linkify-matrix-test.ts | ||
Markdown-test.ts | ||
MatrixClientPeg-test.ts | ||
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 | ||
SlidingSyncManager-test.ts | ||
submit-rageshake-test.ts | ||
SupportedBrowser-test.ts | ||
Terms-test.tsx | ||
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.