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

Fix toHandleWith()#268

Open
kaethorn wants to merge 3 commits intovelesin:masterfrom
kaethorn:master
Open

Fix toHandleWith()#268
kaethorn wants to merge 3 commits intovelesin:masterfrom
kaethorn:master

Conversation

@kaethorn
Copy link
Copy Markdown

@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