node/test/fixtures/cycles/root.js

11 lines
197 B
JavaScript

var foo = exports.foo = require('./folder/foo');
exports.hello = 'hello';
exports.sayHello = function() {
return foo.hello();
};
exports.calledFromFoo = function() {
return exports.hello;
};