MCPcopy Index your code
hub / github.com/restify/node-restify / handler

Function handler

test/chain.test.js:412–414  ·  view source on GitHub ↗
(req, res)

Source from the content-addressed store, hash-verified

410
411test('fails to add non async function with arity 2', function(t) {
412 var handler = function getLunch(req, res) {
413 res.send('ok');
414 };
415 var chain = new Chain();
416 t.throws(function() {
417 chain.add(handler);

Callers 1

callFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected