element-web/test/stores
kegsay 06c4ba32cd
Store refactor: make it easier to test stores (#9290)
* refactor: convert RoomViewStore from flux Store to standard EventEmitter

Parts of a series of experimental changes to improve the design of stores.

* Use a gen5 store for RoomViewStore for now due to lock handling

* Revert "Use a gen5 store for RoomViewStore for now due to lock handling"

This reverts commit 1076af071d997d87b8ae0b0dcddfd1ae428665af.

* Add untilEmission and tweak untilDispatch; use it in RoomViewStore

* Add more RVS tests; remove custom room ID listener code and use EventEmitter

* Better comments

* Null guard `dis` as tests mock out `defaultDispatcher`

* Additional tests
2022-09-20 15:32:39 +00:00
..
notifications Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
right-panel Show chat panel when opening a video room with unread messages (#8812) 2022-06-17 16:57:40 -04:00
room-list Prepare for Element Call integration (#9224) 2022-08-30 15:13:39 -04:00
widgets Element Call video rooms (#9267) 2022-09-16 11:12:27 -04:00
ActiveWidgetStore-test.ts Fix infinite loop when pinning/unpinning persistent widgets (#8396) 2022-04-25 08:29:54 -04:00
OwnBeaconStore-test.ts Live location share - explicitly stop beacons replaced beacons (PSG-544) (#8933) 2022-06-30 07:33:51 +00:00
RoomViewStore-test.tsx Store refactor: make it easier to test stores (#9290) 2022-09-20 15:32:39 +00:00
SpaceStore-test.ts ensure metaspace changes correctly notify listeners (#8611) 2022-05-18 15:15:25 +02:00
TypingStore-test.ts Wire local room logic (#9078) 2022-07-20 09:26:25 +02:00
VoiceRecordingStore-test.ts Prepare for Element Call integration (#9224) 2022-08-30 15:13:39 -04:00
WidgetLayoutStore-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00