From 58a75a583bfe7ce49dc1a39f19d7ff0e3a4b7b67 Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Mon, 8 Apr 2013 15:36:24 -0400 Subject: [PATCH] No ticket. Add additional test for jQuery.queue. Closes gh-1235 --- test/unit/queue.js | 6 ++++++ 1 file changed, 6 insertions(+) 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(); -- 2.39.5