Add more delay to the "halfway" tests for non-focused cases.

When the browser window isn't visible, setTimeouts have 1-second granularity.
This commit is contained in:
Dave Methvin
2012-03-05 21:37:43 -05:00
parent d3320462df
commit e529d91ccd

View File

@@ -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 ),