element-web/test/unit-tests
renovate[bot] e1b2e3a101
Update react monorepo to v19 (major) (#28914)
* Update react monorepo to v19

* Import JSX explicitly for React 19 compatibility

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

* Update usages of refs for React 19 compatibility

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

* Update react imports

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

* Avoid legacy contexts as much as possible

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

* Avoid deprecated React symbols

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

* Stash

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

* Update usages of refs for React 19 compatibility

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>

* Switch pillify to use a html-react-parser approach rather than DOM muddling

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

* Iterate

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

* Iterate react html parsing

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

* Iterate react html parsing

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

* Iterate html parsing

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

* Memoize the EventContentBody component

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

* Iterate html parsing

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>

* Simplify

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

* Iterate

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

* Discard changes to src/Linkify.tsx

* Discard changes to src/components/views/messages/TextualBody.tsx

* Discard changes to src/settings/handlers/AbstractLocalStorageSettingsHandler.ts

* Iterate

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>

* Iterate

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

* Iterate

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

* Prepare for React 19 upgrade

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

* Iterate

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

* Remove stale comment

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2025-04-09 19:03:09 +00:00
..
__snapshots__ Update react monorepo to v19 (major) (#28914) 2025-04-09 19:03:09 +00:00
accessibility Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
actions/handlers Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
async-components Update react imports (#29538) 2025-03-19 10:39:52 +00:00
audio Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
autocomplete Update react monorepo to v19 (major) (#28914) 2025-04-09 19:03:09 +00:00
components Update react monorepo to v19 (major) (#28914) 2025-04-09 19:03:09 +00:00
contexts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
customisations Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
dispatcher Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
editor Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
events Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
hooks Simplified Sliding Sync (#28515) 2025-03-18 17:54:32 +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
integrations Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
models Bundle Element Call with Element Web packages (#29309) 2025-03-28 20:34:32 +00:00
modules Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
notifications Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
renderer Switch away from nesting React trees and mangling the DOM (#29586) 2025-03-26 20:25:03 +00:00
settings Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
stores New Room List: Fix mentions filter matching rooms with any highlight (#29668) 2025-04-03 12:56:06 +00:00
toasts Catch errors after syncing recovery (#29691) 2025-04-08 14:09:04 +00:00
utils Update react monorepo to v19 (major) (#28914) 2025-04-09 19:03:09 +00:00
vector Add wrap props to flex component (#29480) 2025-03-13 13:32:48 +00:00
widgets Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Avatar-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
ContentMessages-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
createRoom-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
DecryptionFailureTracker-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
DeviceListener-test.ts Dismiss "Key storage out of sync" toast when secrets received (#29348) 2025-02-25 12:13:42 +00:00
email-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
favicon-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
HtmlUtils-test.tsx Switch away from nesting React trees and mangling the DOM (#29586) 2025-03-26 20:25:03 +00:00
Image-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
KeyBindingsManager-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
languageHandler-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
LegacyCallHandler-test.ts Reuse PushProcessor from MatrixClient (#29561) 2025-03-21 11:34:06 +00:00
Lifecycle-test.ts Fix token expiry racing with login causing wrong error to be shown (#29566) 2025-03-25 12:07:07 +00:00
linkify-matrix-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
Markdown-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
MatrixClientPeg-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
MediaDeviceHandler-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Modal-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Notifier-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
PosthogAnalytics-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
PreferredRoomVersions-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
README.md fix tests 2018-04-16 00:23:34 +01:00
Reply-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
RoomNotifs-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
Rooms-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
ScalarAuthClient-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
SdkConfig-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
SecurityManager-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
SlashCommands-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
SlidingSyncManager-test.ts Simplified Sliding Sync (#28515) 2025-03-18 17:54:32 +00:00
submit-rageshake-test.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
SupportedBrowser-test.ts Update dependency caniuse-lite to v1.0.30001704 (#29526) 2025-03-18 18:07:41 +00:00
Terms-test.tsx Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
TestSdkContext.ts Update all non-major dependencies (#29194) 2025-02-05 13:25:06 +00:00
TextForEvent-test.ts Render reason for invite rejection. (#29257) 2025-02-14 10:58:20 +00:00
theme-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
TimezoneHandler-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Unread-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
UserActivity-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
useTopic-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
WorkerManager-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00: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.