Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

correctly remove handlers from spyOnEvent #249

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paulswartz
Copy link

The previous code didn't remove the listeners, which was fine if the
selector was removed after the test. For global selectors like
document, the handlers would never be removed.

The previous code didn't remove the listeners, which was fine if the
selector was removed after the test.  For global selectors like
`document`, the handlers would never be removed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant