aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-06-27 14:35:21 +0400
committerOleg <markelog@gmail.com>2013-07-01 22:42:25 +0400
commit48a948f4c04360b4ec9cce5b3b0119b01d4f928f (patch)
tree989a92db20ad282330eb448b73db2c5493d165ab /test
parentf8d0581f4651d3575e5cee558e1e07ea9a9c50c1 (diff)
downloadjquery-48a948f4c04360b4ec9cce5b3b0119b01d4f928f.tar.gz
jquery-48a948f4c04360b4ec9cce5b3b0119b01d4f928f.zip
Fix test for #13937 ticket. Close gh-1299
(cherry picked from commit 308980ee2a5c85ba1600446d093edc921f9a71de)
Diffstat (limited to 'test')
-rw-r--r--test/unit/effects.js6
1 files changed, 5 insertions, 1 deletions
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 );
});