From: Dave Methvin Date: Sat, 24 Nov 2012 20:25:54 +0000 (-0500) Subject: Close #10882. Test case for "hover" event in 1.9 X-Git-Tag: 1.9.0b1~94 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6b00b3cad94e348c0ba31c196aaac9fbf819fea3;p=jquery.git Close #10882. Test case for "hover" event in 1.9 --- diff --git a/test/unit/event.js b/test/unit/event.js index 5fd3c1ca7..d4224d78f 100644 --- a/test/unit/event.js +++ b/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("
craft
") + .on( "hover", function( e ) { + equal( e.type, "hover", "I am hovering!" ); + }) + .trigger("hover") + .off("hover"); +}); + test("fixHooks extensions", function() { expect( 2 );