jasmine-jquery icon indicating copy to clipboard operation
jasmine-jquery copied to clipboard

Fix toHandleWith()

Open kaethorn opened this issue 8 years ago • 0 comments

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().

kaethorn avatar Nov 03 '15 09:11 kaethorn