From 6b00b3cad94e348c0ba31c196aaac9fbf819fea3 Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Sat, 24 Nov 2012 15:25:54 -0500 Subject: [PATCH] Close #10882. Test case for "hover" event in 1.9 --- test/unit/event.js | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 ); -- 2.39.5