element-web/test
Andy Balaam b8d502be2e
Support dynamic room predecessors in RoomNotificationStateStore (#10297)
* Tests for RoomNotificationStateStore emitting events

* Support dynamic room predecessors in RoomNotificationStateStore

* Remove unused arguments from emit call.

UPDATE_STATUS_INDICATOR is used in:
* SpacePanel
* MatrixChat
* RoomHeaderButtons

but these arguments are not used in any of those places. Remove them so
when I refactor I don't have to make up values for them.

* Fix broken test (wrong expected args to emit)

UPDATE_STATUS_INDICATOR is used in:
* SpacePanel
* MatrixChat
* RoomHeaderButtons

but these arguments are not used in any of those places. Remove them so
when I refactor I don't have to make up values for them.

* Update the RoomNotificationStore whenever the predecessor labs flag changes

* Fix type errors

* Fix other tests that trigger our new watcher
2023-03-08 14:18:03 +00:00
..
@types Use server side relations for voice broadcasts (#9534) 2022-11-07 14:19:49 +00:00
__snapshots__ add Ended poll text to ended poll reply formatted body (#10146) 2023-02-13 22:34:47 +00:00
accessibility Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
actions/handlers Apply prettier formatting 2022-12-12 12:24:14 +01:00
audio Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
autocomplete Sort short/exact emoji matches before longer incomplete matches (#10212) 2023-02-27 17:09:15 +00:00
components Support dynamic room predecessors in RoomNotificationStateStore (#10297) 2023-03-08 14:18:03 +00:00
contexts Add voice broadcast pre-recoding PiP (#9548) 2022-11-10 09:38:48 +01:00
editor Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
events Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
hooks Convert remaining hook tests to RTL (#10166) 2023-02-16 14:13:05 +00:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
images Add support for Animated (A)PNG (#8158) 2022-03-28 09:38:54 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
models Properly type Modal props to ensure useful typescript checking (#10238 2023-02-28 10:31:48 +00:00
modules Fixes user authentication when registering via the module API (#10257) 2023-03-07 16:24:44 +01:00
notifications Apply prettier formatting 2022-12-12 12:24:14 +01:00
settings Fix some features not being configurable via features (#10276) 2023-03-03 13:31:51 +00:00
setup Fix some features not being configurable via features (#10276) 2023-03-03 13:31:51 +00:00
stores Support dynamic room predecessors in RoomNotificationStateStore (#10297) 2023-03-08 14:18:03 +00:00
test-utils Refactor pill and add tests (#10304) 2023-03-08 13:06:50 +01:00
toasts Update „new device“ toast texts and buttons (#10200) 2023-02-23 10:25:33 +01:00
utils Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
voice-broadcast Use compound icons (#10292) 2023-03-08 11:11:01 +01:00
Avatar-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
ContentMessages-test.ts Allow parsing png files to fail if thumbnailing is successful (#10308) 2023-03-07 15:48:23 +00:00
createRoom-test.ts Make more code conform to strict null checks (#10219 2023-02-24 15:28:40 +00:00
DecryptionFailureTracker-test.js Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
DeviceListener-test.ts Device manager - use deleteAccountData to prune device manager client information events (#9734) 2022-12-14 04:59:23 +00:00
email-test.ts Factor out basic email check (#10244) 2023-02-28 10:39:35 +01:00
globalSetup.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
HtmlUtils-test.tsx Replace some enzyme tests by @testing-library/react (#9822) 2022-12-23 10:46:14 +00:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
languageHandler-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
LegacyCallHandler-test.ts Examine all m.direct rooms to find a DM as fallback (#10127) 2023-02-13 08:46:53 +01:00
linkify-matrix-test.ts Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
Markdown-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
MatrixClientPeg-test.ts Fix some features not being configurable via features (#10276) 2023-03-03 13:31:51 +00:00
MediaDeviceHandler-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
Notifier-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
PosthogAnalytics-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
PreferredRoomVersions-test.ts Replace MSC3244 support with in-client room version checking (#9018) 2022-07-08 00:32:38 -06:00
Reply-test.ts Conform more code to strict null checking (#10167) 2023-02-16 17:21:44 +00:00
RoomNotifs-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Rooms-test.ts Prevent unnecessary m.direct updates (#9805) 2022-12-21 09:30:08 -07:00
ScalarAuthClient-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
SdkConfig-test.ts Show time left for voice broadcast recordings (#9564) 2022-11-10 10:53:49 +00:00
setupTests.js Kill off enzyme in preference of react testing library (#10255) 2023-03-06 15:17:46 +00:00
SlashCommands-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
SlidingSyncManager-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
slowReporter.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
Terms-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
TestSdkContext.ts Add voice broadcast playback pip (#9603) 2022-11-24 09:08:41 +01:00
TextForEvent-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
theme-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Unread-test.ts Update to supportsThreads (#9907) 2023-01-30 12:20:11 +00:00
UserActivity-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
useTopic-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00