riot-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
call.ts Element Call video rooms (#9267) 2022-09-16 11:12:27 -04:00
client.ts
composer.ts
index.ts
location.ts
platform.ts
poll.ts
room.ts
test-utils.ts Store refactor: make it easier to test stores (#9290) 2022-09-20 15:32:39 +00:00
threads.ts
utilities.ts Store refactor: make it easier to test stores (#9290) 2022-09-20 15:32:39 +00:00
wrappers.tsx