jasmine-jquery
jasmine-jquery copied to clipboard
Fix toHandleWith()
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()
.