aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r--test/unit/effects.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index 8f6492124..2ba9ee686 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -1138,18 +1138,13 @@ QUnit.test( "interrupt toggle", function( assert ) {
var longDuration = fxInterval * 200,
shortDuration = fxInterval * 50,
- remaining = 0,
$elems = jQuery( ".chain-test" ),
clock = this.clock,
- finish = function() {
- };
+ finish = function() {};
jQuery.each( { slideToggle: "height", fadeToggle: "opacity", toggle: "width" }, function( method, prop ) {
var $methodElems = $elems.filter( "[id^='" + method.toLowerCase() + "']" ).each( function() {
- // Don't end test until we're done with this element
- remaining++;
-
// Save original property value for comparison
jQuery.data( this, "startVal", jQuery( this ).css( prop ) );
} );