element-web-Github/test/components/views
Robin f9ad2a5151
Hide unpinnable pinned messages in more cases (#7921)
* Hide unpinnable pinned messages in more cases

Signed-off-by: Robin Townsend <robin@robin.town>

* Fix typo

Signed-off-by: Robin Townsend <robin@robin.town>

* Test that unpinnable pinned messages get hidden

Signed-off-by: Robin Townsend <robin@robin.town>

* Fix cli.relations error in test

Signed-off-by: Robin Townsend <robin@robin.town>

* Use event: true shortcut when calling mkEvent

Signed-off-by: Robin Townsend <robin@robin.town>

* Use mockResolvedValue instead of mockReturnValue for async mock

Signed-off-by: Robin Townsend <robin@robin.town>

* Actually mock redacted messages correctly

Signed-off-by: Robin Townsend <robin@robin.town>

* Ensure that panel is updated before assertions are made

Signed-off-by: Robin Townsend <robin@robin.town>

* Move calls to update out of act

They don't need to be there.

Signed-off-by: Robin Townsend <robin@robin.town>
2022-03-03 07:54:44 -05:00
..
audio_messages dont re-prepare voice messages (#7897) 2022-03-01 09:43:32 +01:00
context_menus Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
dialogs Avoid using .render() in forward dialog test (#7961) 2022-03-03 07:54:20 -05:00
elements Fix room list being laggy while scrolling 🐌 (#7939) 2022-03-02 13:20:01 -06:00
groups Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
location Location sharing > back button (#7958) 2022-03-03 11:30:46 +01:00
messages use LocationAssetType (#7965) 2022-03-03 10:04:38 +00:00
right_panel Hide unpinnable pinned messages in more cases (#7921) 2022-03-03 07:54:44 -05:00
rooms Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
settings Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
spaces Mandate use of js-sdk/src/matrix import over js-sdk/src (#7933) 2022-03-01 20:42:05 +00:00
typography Add Heading components (#7362) 2021-12-15 11:00:10 +01:00