From e529d91ccd00a75fcfa45a6aebaf8ecf0a9bac4b Mon Sep 17 00:00:00 2001 From: Dave Methvin Date: Mon, 5 Mar 2012 21:37:43 -0500 Subject: [PATCH] Add more delay to the "halfway" tests for non-focused cases. When the browser window isn't visible, setTimeouts have 1-second granularity. --- test/unit/effects.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/effects.js b/test/unit/effects.js index a3c2152c..e478cdf6 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -1157,7 +1157,7 @@ function( method, defProp ) { test( method + "().stop()." + method + "()", function() { expect( 8 ); - var animTime = 100; + var animTime = 2000; jQuery.each([ "in", "out" ], function( i, type ) { var $elem = jQuery( "#" + method.toLowerCase() + type ), -- 2.11.4.GIT