element-web-Github/test/components/views
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
..
audio_messages Update tests to prefer RTL over Enzyme (#10247 2023-02-28 08:58:23 +00:00
auth Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
avatars Comply with noImplicitAny (#9940) 2023-02-13 11:39:16 +00:00
beacon apply strictnullchecks to src/components/views/beacon/* (#10272) 2023-03-02 09:58:05 +00:00
beta Apply prettier formatting 2022-12-12 12:24:14 +01:00
context_menus Explicitly specify all children props (#10312) 2023-03-08 13:28:07 +00:00
dialogs Support dynamic room predecessors in RoomNotificationStateStore (#10297) 2023-03-08 14:18:03 +00:00
elements Refactor pill and add tests (#10304) 2023-03-08 13:06:50 +01:00
emojipicker Sort short/exact emoji matches before longer incomplete matches (#10212) 2023-02-27 17:09:15 +00:00
location Apply strictNullChecks to src/components/views/location/* (#10249 2023-02-28 08:55:59 +00:00
messages Refactor pill and add tests (#10304) 2023-03-08 13:06:50 +01:00
right_panel Apply strictNullChecks around the codebase (#10302 2023-03-07 13:19:18 +00:00
rooms Apply strictNullChecks to src/stores/widgets/* (#10324) 2023-03-08 11:48:58 +00:00
settings Remove unused code (#10322) 2023-03-08 10:04:07 +00:00
spaces Update tests to prefer RTL over Enzyme (#10247 2023-02-28 08:58:23 +00:00
typography Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
user-onboarding Use the same avatar colour when creating 1:1 DM rooms (#9850) 2023-01-05 17:05:21 +01:00
voip Use the room avatar as a placeholder in calls (#10231) 2023-02-27 09:34:02 +00:00
Validation-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00