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

10 lines
276 B
JavaScript
Raw Normal View History

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);