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

Add the call object to Call events #3229

Merged
merged 7 commits into from
Mar 29, 2023
Merged

Add the call object to Call events #3229

merged 7 commits into from
Mar 29, 2023

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Mar 24, 2023

As explained in the comment. I've added it to the end so this should be completely backwards compatible (although it would be much nicer if it were the first arg, probably).

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

As explained in the comment. I've added it to the end so this should
be completely backwards compatible (although it would be much nicer
if it were the first arg, probably).
@dbkr dbkr added the T-Task Tasks for the team like planning label Mar 24, 2023
@dbkr dbkr requested a review from a team as a code owner March 24, 2023 14:11
So it doesn't clash with the call error event
Otherwise we won't get far enough to test the right part
@dbkr
Copy link
Member Author

dbkr commented Mar 28, 2023

I've added a number of tests to up the code coverage here. This PR makes tiny changes to the event emitters which of course cover a wide range of the codebase, some of which just lacks tests. One in particular I've added a comment to mark it for potential removal because I can't see where the event emitter would actually be triggered. It's still not quite at the 80% level but hopefully this at least demonstrates the spirit of going in the right direction!

@dbkr dbkr merged commit b41d067 into develop Mar 29, 2023
@dbkr dbkr deleted the dbkr/call_events_pass_call branch March 29, 2023 11:26
@dbkr dbkr restored the dbkr/call_events_pass_call branch March 29, 2023 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants