diff --git a/test/parallel/test-repl.js b/test/parallel/test-repl.js index 2fa20eb75fd855..02ce8169caf3fe 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; };