diff options
author | Dave Methvin <dave.methvin@gmail.com> | 2012-07-25 21:33:30 -0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2012-07-25 21:33:30 -0400 |
commit | d4ec6804e83b2c060a9fc94a044893751c2f640e (patch) | |
tree | 11684923bedf4cd669c0ae968f2cb0c7a65d6f5d /test | |
parent | ed898c62c8d3e8c2091592976c181ee4142287ac (diff) | |
download | jquery-d4ec6804e83b2c060a9fc94a044893751c2f640e.tar.gz jquery-d4ec6804e83b2c060a9fc94a044893751c2f640e.zip |
Give .stop() queue animations more leeway for Stutterin' Swarmy.
This test sometimes fails with only 2 animations left in the queue, so this extends the first animation in case we're running afoul of the one-second rule for background windows.
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/effects.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js index 6d200b534..806192ea0 100644 --- a/test/unit/effects.js +++ b/test/unit/effects.js @@ -598,7 +598,7 @@ test("stop() - several in queue", function() { var w = 0; $foo.hide().css( "width", 200 ).css("width"); - $foo.animate({ "width": "show" }, 1000); + $foo.animate({ "width": "show" }, 1500); $foo.animate({ "width": "hide" }, 1000); $foo.animate({ "width": "show" }, 1000); setTimeout(function(){ @@ -612,7 +612,7 @@ test("stop() - several in queue", function() { $foo.stop(true); start(); - }, 100); + }, 200); }); test("stop(clearQueue)", function() { |