aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywil@users.noreply.github.com>2024-06-06 09:56:44 -0400
committerGitHub <noreply@github.com>2024-06-06 09:56:44 -0400
commit74970524e5e164c72ec0415267b1e057280c9455 (patch)
treeb21a18d0e7f3bdab610cf3cc0a0bacc673ccc046 /test/unit/effects.js
parent46b9e4803ec3506e830ea6b49541ea29717ed460 (diff)
downloadjquery-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.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 ) );
} );