main.js 276 B

123456789
  1. var f = require('./f.js');
  2. var m = require('m');
  3. var g = require('g');
  4. t.equal(require('./subdir/g.js'), 999);
  5. t.equal(m(f(AAA)), 555, 'transformation scope');
  6. t.equal(g(3), 332, 'sub-transformation applied');
  7. t.equal(typeof GGG, 'undefined', 'GGG leak');
  8. t.equal(XYZ, 909);