7 lines
120 B
JavaScript
7 lines
120 B
JavaScript
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);
|
|
|