mirror of
https://github.com/jquery/jquery.git
synced 2026-02-02 14:15:05 -05:00
Event: fix incorrect test
Which was revealed by03eaadb131commit, also do not try to fix typos in data/jquery version Cherry-picked fromd92310050c
This commit is contained in:
@@ -877,16 +877,10 @@ QUnit.test( "withinElement implemented with jQuery.contains()", function( assert
|
||||
jQuery( "#qunit-fixture" ).append( "<div id='jc-outer'><div id='jc-inner'></div></div>" );
|
||||
|
||||
jQuery( "#jc-outer" ).on( "mouseenter mouseleave", function( event ) {
|
||||
|
||||
assert.equal( this.id, "jc-outer", this.id + " " + event.type );
|
||||
|
||||
} ).trigger( "mouseenter" );
|
||||
} );
|
||||
|
||||
jQuery( "#jc-inner" ).trigger( "mouseenter" );
|
||||
|
||||
jQuery( "#jc-outer" ).off( "mouseenter mouseleave" ).remove();
|
||||
jQuery( "#jc-inner" ).remove();
|
||||
|
||||
} );
|
||||
|
||||
QUnit.test( "mouseenter, mouseleave don't catch exceptions", function( assert ) {
|
||||
|
||||
Reference in New Issue
Block a user