From: Oleg Gaidarenko Date: Mon, 8 Apr 2013 19:36:24 +0000 (-0400) Subject: No ticket. Add additional test for jQuery.queue. Closes gh-1235 X-Git-Tag: 2.0.0-beta3~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=58a75a583bfe7ce49dc1a39f19d7ff0e3a4b7b67;p=jquery.git No ticket. Add additional test for jQuery.queue. Closes gh-1235 --- diff --git a/test/unit/queue.js b/test/unit/queue.js index e19274039..4192c7169 100644 --- a/test/unit/queue.js +++ b/test/unit/queue.js @@ -123,6 +123,12 @@ test("callbacks keep their place in the queue", function() { }); }); +test( "jQuery.queue should return array while manipulating the queue", 1, function() { + var div = document.createElement("div"); + + ok( jQuery.isArray( jQuery.queue( div, "fx", jQuery.noop ) ), "jQuery.queue should return an array while manipulating the queue" ); +}); + test("delay()", function() { expect(2); stop();