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

core: make session an event emitter #14147

Merged
merged 3 commits into from
Jun 22, 2022
Merged

core: make session an event emitter #14147

merged 3 commits into from
Jun 22, 2022

Conversation

brendankenny
Copy link
Member

rather than a subset of an event emitter

part of #14078

@brendankenny brendankenny requested a review from a team as a code owner June 22, 2022 19:21
@brendankenny brendankenny requested review from adamraine and removed request for a team June 22, 2022 19:21
const setAutoAttachCount = sendMock.findAllInvocations('Target.setAutoAttach').length;
const resumeCount = sendMock.findAllInvocations('Runtime.runIfWaitingForDebugger').length;

// There may be many listeners for all protocol events, so just ensure this one occurred.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now annoying, but still seems worth asserting. Open to other approaches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants