riot-web/test
David Baker 39d453a5a3
Stop using the js-sdk's compare function (#12782)
* Stop using the js-sdk's compare function

The file is supposed to be a js-sdk internal module so we shouldn't
have been using it, and now it uses the native collator, it's completely
trivial. It was also causing Intl.Collator to be accessed at the module
scope which risked it beating the modernizr check.

* add test

* Fix tests

Move the restoreAllMocks to prevent mock leakage and also add
some custom themes to test the ordering of those.

* Move spy to the right place

* Add ANOTHER test

* Add test for integration manager ordering
2024-07-17 13:51:42 +00:00
..
@types
__snapshots__ Don't consider textual characters to be emoji (#12582) 2024-07-04 17:48:07 +00:00
accessibility Accessibility: Add Landmark navigation (#12190) 2024-07-17 14:46:45 +01:00
actions/handlers
audio Stop using deprecated methods, fields & exports (#12524) 2024-05-15 14:58:28 +00:00
autocomplete
components Stop using the js-sdk's compare function (#12782) 2024-07-17 13:51:42 +00:00
contexts New user profile UI in User Settings (#12548) 2024-06-06 13:56:38 +00:00
dispatcher
editor Use `*` for italics as it doesn't break when used mid-word (#12523) 2024-05-15 09:01:45 +00:00
events
hooks Show tooltips on narrow tabbed views (#12624) 2024-06-14 14:17:46 +00:00
i18n
images
img
integrations Stop using the js-sdk's compare function (#12782) 2024-07-17 13:51:42 +00:00
models
modules
notifications
settings Promote new room header from labs to Beta (#12739) 2024-07-09 09:45:48 +00:00
setup Fix incoming call toast crash due to audio refactor (#12737) 2024-07-08 12:44:54 +00:00
stores Stop using the js-sdk's compare function (#12782) 2024-07-17 13:51:42 +00:00
test-utils Cleanup tasks in SecurityManager/SetupEncryptionStore (#12764) 2024-07-13 10:27:59 +00:00
toasts Fix incoming call toast crash due to audio refactor (#12737) 2024-07-08 12:44:54 +00:00
utils Fix HTML export missing a bunch of Compound variables (#12774) 2024-07-15 11:33:41 +01:00
voice-broadcast Prevent Element appearing in system media controls (#10995) 2024-07-04 18:08:06 +00:00
widgets Align `widget_build_url_ignore_dm` with call behaviour switch between 1:1 and Widget (#12760) 2024-07-15 09:08:34 +00:00
Avatar-test.ts
ContentMessages-test.ts
DecryptionFailureTracker-test.ts Element-R: Report events with withheld keys separately to Posthog. (#12755) 2024-07-10 09:22:59 +00:00
DeviceListener-test.ts Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
HtmlUtils-test.tsx Don't consider textual characters to be emoji (#12582) 2024-07-04 17:48:07 +00:00
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Align `widget_build_url_ignore_dm` with call behaviour switch between 1:1 and Widget (#12760) 2024-07-15 09:08:34 +00:00
Lifecycle-test.ts Remove redundant call to `setCrypto` (#12738) 2024-07-08 10:57:54 +00:00
Markdown-test.ts
MatrixClientPeg-test.ts Switch to Rust crypto stack for all logins (#12630) 2024-06-24 09:14:42 +00:00
MediaDeviceHandler-test.ts
Modal-test.ts Fix closing all modals (#12728) 2024-07-05 13:39:13 +00:00
Notifier-test.ts Prevent Element appearing in system media controls (#10995) 2024-07-04 18:08:06 +00:00
PosthogAnalytics-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
PreferredRoomVersions-test.ts
Reply-test.ts
RoomNotifs-test.ts
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SecurityManager-test.ts Add logging to encryption setup (#12765) 2024-07-13 13:36:45 +01:00
SlashCommands-test.tsx
SlidingSyncManager-test.ts Fix well-known lookup for sliding sync labs check (#12519) 2024-05-14 12:40:10 +00:00
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
Unread-test.ts
UserActivity-test.ts
WorkerManager-test.ts
createRoom-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
email-test.ts
globalSetup.ts
languageHandler-test.tsx
linkify-matrix-test.ts
predictableRandom.ts
setupTests.ts
slowReporter.js
submit-rageshake-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
theme-test.ts Stop using the js-sdk's compare function (#12782) 2024-07-17 13:51:42 +00:00
useTopic-test.tsx