Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert call test to TypeScript #1516

Merged
merged 5 commits into from
Oct 19, 2020

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Oct 16, 2020

Typescript tests basically just appear to work, apart from needing
the jest types imported so the typescript checker knows what's what.

Convert the webrtc test to typescript, which actually mostly just
serves to point out that we're not mocking the whole of document,
but oh well.

Based on: #1512 (pull/1512/head...pull/1516/head)

Start the migration to v1 VoIP by supporting m.call.reject, which
we'll send if the caller says they're v1. Our version stays as v0
for now, until we speak the rest of v1.

Honour the default reaosn in a hangup being user_hangup.
Send party_id on events and check the party_id of incoming events matches

Includes a basic test to assert that it actually does: we should
build out a decent test suite for calls as there's a lot of edge-case
functionality that can break and slip through the cracks (eg. glare).
This is a start.

Fixes #1511
Typescript tests basically just appear to work, apart from needing
the jest types imported so the typescript checker knows what's what.

DConvert the webrtc test to typescript, which actually mostly just
serves to point out that we're not mocking the whole of `document`,
but oh well.
@dbkr dbkr requested a review from a team October 16, 2020 17:24
@dbkr dbkr merged commit 9f71378 into develop Oct 19, 2020
@t3chguy t3chguy deleted the dbkr/aint_no_party_like_a_typescript_party branch May 10, 2022 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants