Skip to content

Conversation

@Koenkk
Copy link
Owner

@Koenkk Koenkk commented Oct 27, 2025

Comment on lines -187 to -188
expect(onEventSpy).toHaveBeenCalledTimes(2);
expect(deviceOnEventSpy).toHaveBeenCalledTimes(1);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Was this removal intended? It doesn't appear to check anything anymore (except that the test doesn't timeout).

Copy link
Owner Author

Choose a reason for hiding this comment

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

yes it's because the clear isn't done anymore the event spy is now called 6 times. What is called and how often is already checked in the test case above so not much value to do it again here.

@Koenkk Koenkk merged commit e037a2c into dev Oct 28, 2025
14 checks passed
@Koenkk Koenkk deleted the fix/duplicate-onevent-call branch October 28, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants