diff options
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r-- | test/unit/effects.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js index dfe5b7c32..a1fd642ba 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -90,9 +90,6 @@ QUnit.test( "show()", function( assert ) { assert.ok( pass, "Show with " + name + " does not call animate callback" ); } ); - // Tolerate data from show()/hide() - assert.expectJqData( this, div, "olddisplay" ); - jQuery( "<div id='show-tests'>" + "<div><p><a href='#'></a></p><code></code><pre></pre><span></span></div>" + @@ -217,8 +214,6 @@ supportjQuery.each( hideOptions, function( type, setup ) { } ); clock.tick( 300 ); - - assert.expectJqData( this, $span, "olddisplay" ); } ); QUnit[ @@ -252,8 +247,6 @@ supportjQuery.each( hideOptions, function( type, setup ) { } ); clock.tick( 300 ); - - assert.expectJqData( this, $shadowChild, "olddisplay" ); } ); } ); @@ -1171,9 +1164,6 @@ QUnit.test( "interrupt toggle", function( assert ) { // Save original property value for comparison jQuery.data( this, "startVal", jQuery( this ).css( prop ) ); - - // Expect olddisplay data from our .hide() call below - assert.expectJqData( env, this, "olddisplay" ); } ); // Interrupt a hiding toggle @@ -1623,8 +1613,6 @@ QUnit.test( "animate should set display for disconnected nodes", function( asser assert.strictEqual( $divInline.show()[ 0 ].style.display, "inline", "show() should not change display if it already set" ); - assert.expectJqData( env, $divNone[ 0 ], "olddisplay" ); - jQuery.each( showMethods, function( name, opt ) { jQuery.fn[ name ].apply( jQuery( "<div></div>" ), opt.concat( [ function() { assert.strictEqual( jQuery( this ).css( "display" ), nullParentDisplay, |