From: Oleg Date: Thu, 27 Jun 2013 10:35:21 +0000 (+0400) Subject: Fix test for #13937 ticket. Close gh-1299 X-Git-Tag: 2.0.3~6 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=308980ee2a5c85ba1600446d093edc921f9a71de;p=jquery.git Fix test for #13937 ticket. Close gh-1299 --- diff --git a/test/unit/effects.js b/test/unit/effects.js index 4c4e31495..e740191ce 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -2133,7 +2133,11 @@ asyncTest( ".finish() is applied correctly when multiple elements were animated ok( elems.eq( 0 ).queue().length, "non-empty queue for preceding element" ); ok( elems.eq( 2 ).queue().length, "non-empty queue for following element" ); elems.stop( true ); - start(); + + // setTimeout needed in order to avoid setInterval/setTimeout execution bug in FF + window.setTimeout(function() { + start(); + }, 1000 ); }, 100 ); });