From 48a948f4c04360b4ec9cce5b3b0119b01d4f928f Mon Sep 17 00:00:00 2001 From: Oleg Date: Thu, 27 Jun 2013 14:35:21 +0400 Subject: [PATCH] Fix test for #13937 ticket. Close gh-1299 (cherry picked from commit 308980ee2a5c85ba1600446d093edc921f9a71de) --- test/unit/effects.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test/unit/effects.js b/test/unit/effects.js index e50fc2185..7fc8e7336 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -2171,7 +2171,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 ); }); -- 2.39.5