});
});
-test("queue() defaults to 'fx' type", function () {
- expect(2);
- stop();
-
- var $foo = jQuery("#foo");
- $foo.queue("fx", [ "sample", "array" ]);
- var arr = $foo.queue();
- isSet(arr, [ "sample", "array" ], "queue() got an array set with type 'fx'");
- $foo.queue([ "another", "one" ]);
- var arr = $foo.queue("fx");
- isSet(arr, [ "another", "one" ], "queue('fx') got an array set with no type");
- // clean up after test
- $foo.queue([]);
-
- start();
-});
-
test("stop()", function() {
expect(3);
stop();