main.js 276 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 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);