-
-
Notifications
You must be signed in to change notification settings - Fork 604
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
Conversation
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).
So it doesn't clash with the call error event
Otherwise we won't get far enough to test the right part
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! |
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
This change is marked as an internal change (Task), so will not be included in the changelog.