Lines Matching defs:useGlobal
10 // Array of [useGlobal, expectedResult] pairs
17 const globalTest = (useGlobal, cb, output) => (err, repl) => {
30 // Test how the global object behaves in each state for useGlobal
38 // behaves in each useGlobal state. Note: we can't
39 // actually test the state when useGlobal is true,
45 const processTest = (useGlobal, cb, output) => (err, repl) => {
52 // If useGlobal is false, then `let process` should work
65 function runRepl(useGlobal, testFunc, cb) {
71 useGlobal: useGlobal,
80 testFunc(useGlobal, cb, opts.output));