element-web/test/components/views/dialogs
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
..
__snapshots__ Remove Enzyme tests in favour of React testing-library (#10289) 2023-03-06 12:13:17 +00:00
devtools
polls Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
spotlight
AccessSecretStorageDialog-test.tsx Improved a11y for Field feedback and Secure Phrase input (#10320) 2023-03-08 11:32:50 +00:00
AskInviteAnywayDialog-test.tsx
ChangelogDialog-test.tsx
ConfirmRedactDialog-test.tsx
DevtoolsDialog-test.tsx
ExportDialog-test.tsx Remove Enzyme tests in favour of React testing-library (#10289) 2023-03-06 12:13:17 +00:00
ForwardDialog-test.tsx
InteractiveAuthDialog-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
InviteDialog-test.tsx Only allow to start a DM with one email if encryption by default is enabled (#10253) 2023-03-06 12:08:17 +01:00
MessageEditHistoryDialog-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
SpotlightDialog-test.tsx Support dynamic room predecessors in RoomNotificationStateStore (#10297) 2023-03-08 14:18:03 +00:00
UserSettingsDialog-test.tsx Properly type Modal props to ensure useful typescript checking (#10238 2023-02-28 10:31:48 +00:00