MCPcopy
hub / github.com/flatiron/director / testRoute

Function testRoute

test/server/core/regifystring-test.js:10–17  ·  view source on GitHub ↗
(route, callback)

Source from the content-addressed store, hash-verified

8};
9
10var testRoute = function(route, callback) {
11 var router = new director.Router();
12 router.on(route, callback);
13
14 return function(value) {
15 return router.dispatch('on', value);
16 };
17};
18
19vows.describe('director/core/regifyString').addBatch({
20

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…