(fn, path, route)
| 11 | director = require('../../../lib/director'); |
| 12 | |
| 13 | function assertRoute (fn, path, route) { |
| 14 | if (path.length === 1) { |
| 15 | return assert.strictEqual(route[path.shift()], fn); |
| 16 | } |
| 17 | |
| 18 | route = route[path.shift()]; |
| 19 | assert.isObject(route); |
| 20 | assertRoute(fn, path, route); |
| 21 | } |
| 22 | |
| 23 | vows.describe('director/core/mount').addBatch({ |
| 24 | "An instance of director.Router": { |
no outgoing calls
no test coverage detected
searching dependent graphs…