element-web/test/test-utils
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
..
beacon.ts Live location share - focus on user location on list item click (PSG-609) (#9051) 2022-07-18 08:34:39 +00:00
call.ts Element Call video rooms (#9267) 2022-09-16 11:12:27 -04:00
client.ts Device manager - verify other devices (PSG-724) (#9274) 2022-09-14 10:40:26 +00:00
composer.ts Add Voice Broadcast labs setting and composer button (#9279) 2022-09-16 09:10:33 +00:00
index.ts Prepare for Element Call integration (#9224) 2022-08-30 15:13:39 -04:00
location.ts Enable forwarding static locations (#8553) 2022-05-10 16:21:20 +00:00
platform.ts Live location share - set time limit (#8082) 2022-03-21 12:42:58 +01:00
poll.ts test functional EventUtils (#8386) 2022-04-21 18:14:10 +02:00
room.ts Live location sharing: move test utils into utils (#8365) 2022-04-19 16:47:19 +00:00
test-utils.ts Store refactor: make it easier to test stores (#9290) 2022-09-20 15:32:39 +00:00
threads.ts Remove dead code (#9035) 2022-07-11 07:52:44 +02:00
utilities.ts Store refactor: make it easier to test stores (#9290) 2022-09-20 15:32:39 +00:00
wrappers.tsx Improve typing around wrapInMatrixClientContext (#8130) 2022-03-23 18:13:40 -04:00