Skip to content

Conversation

@brendankenny
Copy link
Contributor

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
Contributor 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