Files
cappuccino/Tests/Manual/CommonJSModules/tests/relative/program.js
T

6 lines
197 B
JavaScript

var test = require('test');
var a = require('submodule/a');
var b = require('submodule/b');
test.assert(a.foo == b.foo, 'a and b share foo through a relative require');
test.print('DONE', 'info');