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

Fix toHandleWith() #268

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Fix toHandleWith() #268

wants to merge 3 commits into from

Conversation

kaethorn
Copy link

@kaethorn kaethorn commented Nov 3, 2015

When there's no event bound at all not.toHandleWith() will throw an error instead of passing. Example:

expect(selector).not.toHandleWith('click', handler);

The same already works with not.toHandle().

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