riot-web/test/unit-tests
Michael Telatynski 27a43e860a
Use React Suspense when rendering async modals (#28386)
* Use React Suspense when rendering async modals

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

* Fix test

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

* Improve coverage

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

* Improve coverage

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

* Improve coverage

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

* Update src/Modal.tsx

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-12 21:19:11 +00:00
..
__snapshots__
accessibility
actions/handlers
async-components Use React Suspense when rendering async modals (#28386) 2024-11-12 21:19:11 +00:00
audio
autocomplete
components Use React Suspense when rendering async modals (#28386) 2024-11-12 21:19:11 +00:00
contexts
customisations
dispatcher
editor
events
hooks
i18n
images
integrations
models
modules
notifications
settings
stores
toasts
utils
vector
voice-broadcast
widgets
Avatar-test.ts
ContentMessages-test.ts
DecryptionFailureTracker-test.ts
DeviceListener-test.ts
HtmlUtils-test.tsx
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts
Lifecycle-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 Use React Suspense when rendering async modals (#28386) 2024-11-12 21:19:11 +00:00
SlashCommands-test.tsx
SlidingSyncManager-test.ts
SupportedBrowser-test.ts
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts
TimezoneHandler-test.ts
Unread-test.ts
UserActivity-test.ts
WorkerManager-test.ts
createRoom-test.ts
email-test.ts
favicon-test.ts
languageHandler-test.tsx
linkify-matrix-test.ts
submit-rageshake-test.ts
theme-test.ts
useTopic-test.tsx

README.md

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.