Skip to content
Permalink
Browse files
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.
  • Loading branch information
dmethvin committed Jul 26, 2012
1 parent ed898c6 commit d4ec680
Showing 1 changed file with 2 additions and 2 deletions.
@@ -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() {

0 comments on commit d4ec680

Please sign in to comment.