MCPcopy
hub / github.com/caolan/async / testLimit

Function testLimit

mocha_test/filter.js:10–20  ·  view source on GitHub ↗
(arr, limitFunc, limit, iter, done)

Source from the content-addressed store, hash-verified

8}
9
10function testLimit(arr, limitFunc, limit, iter, done) {
11 var args = [];
12
13 limitFunc(arr, limit, function(x) {
14 args.push(x);
15 iter.apply(this, arguments);
16 }, function() {
17 expect(args).to.eql(arr);
18 done.apply(this, arguments);
19 });
20}
21
22describe("filter", function () {
23

Callers 1

filter.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…