diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js index 2fa20eb75f..02ce8169ca 100644 --- a/test/parallel/test-repl.js +++ b/test/parallel/test-repl.js @@ -24,7 +24,7 @@ var moduleFilename = require('path').join(common.fixturesDir, 'a'); console.error('repl test'); // function for REPL to run -invoke_me = function(arg) { +global.invoke_me = function(arg) { return 'invoked ' + arg; };