8 lines
217 B
JavaScript
8 lines
217 B
JavaScript
|
var f = require('./f.js');
|
||
|
var m = require('m');
|
||
|
var g = require('g');
|
||
|
|
||
|
t.equal(m(f(AAA)), 555, 'transformation scope');
|
||
|
t.equal(g(3), 333, 'sub-transformation applied');
|
||
|
t.equal(typeof GGG, 'undefined', 'GGG leak');
|