Skip to content
Permalink
Browse files

Close #10882. Test case for "hover" event in 1.9

  • Loading branch information
dmethvin committed Nov 24, 2012
1 parent b7ec6dd commit 6b00b3cad94e348c0ba31c196aaac9fbf819fea3
Showing with 11 additions and 0 deletions.
  1. +11 −0 test/unit/event.js
@@ -2904,6 +2904,17 @@ test("focus-blur order (#12868)", function() {
}, 50 );
});

test("hover event no longer special since 1.9", function() {
expect( 1 );

jQuery("<div>craft</div>")
.on( "hover", function( e ) {
equal( e.type, "hover", "I am hovering!" );
})
.trigger("hover")
.off("hover");
});

test("fixHooks extensions", function() {
expect( 2 );

0 comments on commit 6b00b3c

Please sign in to comment.
You can’t perform that action at this time.