element-web/test
Šimon Brandner cbb34d8ac7
Make CallHandler more EventEmittery (#6704)
* sharedInstance() -> instance

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use CallState event instead of dispatching

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Simplifie some code

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use a method to start a call instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use a method instead of place_conference_call

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Make terminateCallApp() and hangupCallApp() public

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use hangupAllCalls() instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Make dialNumber(), startTransferToMatrixID() and startTransferToPhoneNumber() public instead of using the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use answerCall() instead of using the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Use hangupOrReject() instead of the dispatcher

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Update docs

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Improve TS

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Dispatch call_state, see https://github.com/vector-im/element-web/pull/18823#issuecomment-917377277

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>

* Add missing import

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
2021-11-30 18:09:13 +00:00
..
accessibility Allow filtering room list during treeview navigation (#7219) 2021-11-29 17:18:35 +00:00
autocomplete Auto-fix lint errors 2021-06-29 13:11:58 +01:00
components Improve ThreadPanel ctx menu accessibility (#7217) 2021-11-29 17:42:53 +00:00
editor Fix links being parsed as markdown links improperly (#7200) 2021-11-30 18:09:05 +00:00
end-to-end-tests Tweaks to informational architecture 1.1 (#7052) 2021-11-30 18:08:46 +00:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Attempt to fix tests some more 2020-09-15 13:19:47 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
notifications Update eslint plugin & fix silly indenting 2021-08-03 17:07:37 +01:00
settings/watchers Unit tests for getEffectiveTheme (#7051) 2021-10-29 09:11:55 +01:00
stores Add view_room to Action enum (#7203) 2021-11-25 21:49:43 +01:00
utils Fix a couple relative date tests (#7184) 2021-11-23 11:29:23 -07:00
.eslintrc.js Migrate to eslint-plugin-matrix-org 2021-06-29 12:51:13 +01:00
CallHandler-test.ts Make CallHandler more EventEmittery (#6704) 2021-11-30 18:09:13 +00:00
createRoom-test.js Conform to new react and typescript eslint rules 2021-07-19 22:43:11 +01:00
DecryptionFailureTracker-test.js fix more private field accesses in tests 2021-06-17 15:23:29 +01:00
globalSetup.js Fix TimeZone to be UTC in Jest tests (#7082) 2021-11-04 10:39:49 +00:00
KeyBindingsManager-test.ts Comply with new member-delimiter-style rule 2021-07-01 23:23:03 +01:00
linkify-matrix-test.ts Add basic linkify-matrix tests (#7199) 2021-11-26 10:39:07 +00:00
Markdown-test.ts Fix links being parsed as markdown links improperly (#7200) 2021-11-30 18:09:05 +00:00
PosthogAnalytics-test.ts fix tests 2021-09-15 13:55:34 +01:00
ScalarAuthClient-test.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
setupTests.js Fix missing snapshot serializer&enzyme init (#6932) 2021-10-13 11:09:43 +01:00
skinned-sdk.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
Terms-test.js Auto-fix lint errors 2021-06-29 13:11:58 +01:00
test-utils.js Mock usage of getRoomUpgradeHistory in SpaceStore tests 2021-10-08 10:30:46 +01:00
TextForEvent-test.ts Handle case where one message is pinned, and another unpinned 2021-08-11 14:56:59 +01:00
UserActivity-test.js lolex renamed to @sinonjs/fake-timers 2021-01-27 12:31:37 +00:00