diff options
author | Timmy Willison <timmywil@users.noreply.github.com> | 2024-06-06 09:56:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-06 09:56:44 -0400 |
commit | 74970524e5e164c72ec0415267b1e057280c9455 (patch) | |
tree | b21a18d0e7f3bdab610cf3cc0a0bacc673ccc046 /test/unit/effects.js | |
parent | 46b9e4803ec3506e830ea6b49541ea29717ed460 (diff) | |
download | jquery-74970524e5e164c72ec0415267b1e057280c9455.tar.gz jquery-74970524e5e164c72ec0415267b1e057280c9455.zip |
Build: improve specificity of eslint config; add ecma versions
Closes gh-5501
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r-- | test/unit/effects.js | 7 |
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 ) ); } ); |