asdf-games/node_modules/browserify/test/symlink_dedupe/main.js

7 lines
120 B
JavaScript
Raw Normal View History

var A = require('./one/f.js');
var B = require('./one/dir/f.js');
t.equal(A, B);
t.equal(A(), 555);
t.equal(B(), 555);