element-web-Github/test/unit-tests
Michael Telatynski 502cc91dfe
Switch ModalManager to the React 18 createRoot API (#28336)
* Remove boilerplate around dispatcher and settings watchers

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Move state update listeners from constructor to componentDidMount

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Switch ModalManager to the React 18 createRoot API

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-04 11:34:00 +00:00
..
__snapshots__ Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
accessibility Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
actions/handlers Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
async-components Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
audio Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
autocomplete Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
components Switch ModalManager to the React 18 createRoot API (#28336) 2024-11-04 11:34:00 +00:00
contexts Migrate to stylistic 2024-10-18 14:34:01 +01:00
customisations Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
dispatcher Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
editor Fix markdown escaping wrongly passing html through (#28363) 2024-11-04 11:31:44 +00:00
events Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
hooks Update to React 18 (#24763) 2024-10-21 13:50:06 +00:00
i18n Prepare for repo merge 2024-10-15 11:35:21 +01:00
images Prepare for repo merge 2024-10-15 11:35:21 +01:00
img Prepare for repo merge 2024-10-15 11:35:21 +01:00
integrations Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
models Migrate to stylistic 2024-10-18 14:34:01 +01:00
modules Iterate 2024-10-15 16:22:11 +01:00
notifications Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
settings Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
stores Use new CryptoApi.encryptToDeviceMessages() to send encrypted to-device messages from widgets (#28315) 2024-10-30 09:37:23 +00:00
toasts First batch: remove deprecated calls on MatrixClient (#28207) 2024-10-21 12:53:39 +01:00
utils Switch ModalManager to the React 18 createRoot API (#28336) 2024-11-04 11:34:00 +00: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 Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Avatar-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
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 Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
DecryptionFailureTracker-test.ts Add PostHog codes for trust requirement failures (#28292) 2024-10-28 13:16:48 +00:00
DeviceListener-test.ts Remove boilerplate around dispatcher and settings watchers (#28338) 2024-11-01 15:15:04 +00:00
email-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
favicon-test.ts Update license files 2024-09-06 15:44:31 +01:00
HtmlUtils-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Image-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
KeyBindingsManager-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
languageHandler-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
LegacyCallHandler-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Lifecycle-test.ts Fix test 2024-10-18 13:38:25 +01:00
linkify-matrix-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Markdown-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MatrixClientPeg-test.ts First batch: remove deprecated calls on MatrixClient (#28207) 2024-10-21 12:53:39 +01:00
MediaDeviceHandler-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Modal-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Notifier-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
PosthogAnalytics-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
PreferredRoomVersions-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
README.md fix tests 2018-04-16 00:23:34 +01:00
Reply-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
RoomNotifs-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Rooms-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ScalarAuthClient-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
SdkConfig-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
SecurityManager-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
SlashCommands-test.tsx Remove references to MatrixClient.crypto (#28204) 2024-10-17 08:50:44 +01:00
SlidingSyncManager-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
submit-rageshake-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
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 Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
TextForEvent-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
theme-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
TimezoneHandler-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Unread-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
UserActivity-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
useTopic-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
WorkerManager-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00

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.