10 lines
276 B
JavaScript
10 lines
276 B
JavaScript
|
var f = require('./f.js');
|
||
|
var m = require('m');
|
||
|
var g = require('g');
|
||
|
t.equal(require('./subdir/g.js'), 999);
|
||
|
|
||
|
t.equal(m(f(AAA)), 555, 'transformation scope');
|
||
|
t.equal(g(3), 332, 'sub-transformation applied');
|
||
|
t.equal(typeof GGG, 'undefined', 'GGG leak');
|
||
|
t.equal(XYZ, 909);
|