1 2 3 4 5
var test = require('test'); var a = require('submodule/a'); var b = require('b'); test.assert(a.foo().foo === b.foo, 'require works with absolute identifiers'); print('DONE', 'info');