mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Close #10882. Test case for "hover" event in 1.9
This commit is contained in:
parent
b7ec6ddd45
commit
6b00b3cad9
@ -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 );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user