mirror of
https://github.com/jquery/jquery.git
synced 2026-01-24 02:08:06 -05:00
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:
2
test/unit/effects.js
vendored
2
test/unit/effects.js
vendored
@@ -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 ),
|
||||
|
||||
Reference in New Issue
Block a user