it.should("execute in the right scope ignoring extra arguments", function (next) { var c = comb.bindIgnore({test:true}, function () { var args = comb.argsToArray(arguments); assert.lengthOf(args, 1); assert.equal(args[0], "hello"); next(); }, "hello"); c("world"); });
assert.throws(function () { comb.bindIgnore(comb, "someFunction"); })