diff --git a/test/parallel/test-repl-tab-complete.js b/test/parallel/test-repl-tab-complete.js index 6449203ff8..46532fc224 100644 --- a/test/parallel/test-repl-tab-complete.js +++ b/test/parallel/test-repl-tab-complete.js @@ -23,11 +23,12 @@ const common = require('../common'); const assert = require('assert'); +const fixtures = require('../common/fixtures'); // We have to change the directory to ../fixtures before requiring repl // in order to make the tests for completion of node_modules work properly // since repl modifies module.paths. -process.chdir(common.fixturesDir); +process.chdir(fixtures.fixturesDir); const repl = require('repl');