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

Commits on Oct 15, 2020

  1. Support m.call.reject

    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.
    dbkr committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    7c3af91 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. Support party_id

    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
    dbkr committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    2df588f View commit details
    Browse the repository at this point in the history
  2. linty lint lint

    dbkr committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    e2b79e4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9590c8a View commit details
    Browse the repository at this point in the history
  4. Convert call test to TypeScript

    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 committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    d965648 View commit details
    Browse the repository at this point in the history