element-web/test/unit-tests/utils
Michael Telatynski ca239fee4d
Update type and usage of window.matrixChat to be better React 18 friendly (#28415)
* Update type and usage of window.matrixChat to be better React 18 friendly

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

* Improve coverage

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

* Make modules import async to make the file testable

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

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-11-13 14:16:29 +00:00
..
__snapshots__ Prepare for repo merge 2024-10-15 11:35:21 +01:00
beacon Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
crypto Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
device Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
dm Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
exportUtils Remove unused icons & styles (#28288) 2024-10-28 14:19:37 +00:00
localRoom Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
location Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
media Switch ModalManager to the React 18 createRoot API (#28336) 2024-11-04 11:34:00 +00:00
oidc Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
permalinks Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
room Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
validate Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
AnimationUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
arrays-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
AutoDiscoveryUtils-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
colour-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
connection-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
createVoiceMessageContent-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
DateUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
direct-messages-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
DMRoomMap-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
enums-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ErrorUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
EventRenderingUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
EventUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
export-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Feedback-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
FileUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
FixedRollingArray-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
FormattingUtils-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
generate-megolm-test-vectors.py Prepare for repo merge 2024-10-15 11:35:21 +01:00
i18n-helpers-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
iterables-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
leave-behaviour-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
local-room-test.ts Iterate 2024-10-18 14:34:02 +01:00
login-test.ts Update type and usage of window.matrixChat to be better React 18 friendly (#28415) 2024-11-13 14:16:29 +00:00
LruCache-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
maps-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MegolmExportEncryption-test.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
membership-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MessageDiffUtils-test.tsx Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
MultiInviter-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
notifications-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
numbers-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
objects-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
PhasedRolloutFeature-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
pillify-test.tsx Switch secondary React trees to the createRoot API (#28296) 2024-11-06 12:44:54 +00:00
PinningUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
promise-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
SearchInput-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
SessionLock-test.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
sets-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
ShieldUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
Singleflight-test.ts Migrate to stylistic 2024-10-18 14:34:01 +01:00
SnakedObject-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
StorageAccess-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
StorageManager-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
stringOrderField-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
threepids-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
tooltipify-test.tsx Switch secondary React trees to the createRoot API (#28296) 2024-11-06 12:44:54 +00:00
UrlUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00
WidgetUtils-test.ts Merge matrix-react-sdk into element-web 2024-10-15 15:32:09 +01:00