diff --git a/test/parallel/test-repl-tab-complete.js b/test/parallel/test-repl-tab-complete.js index 11858564ef1035..df7300e526e8c1 100644 --- a/test/parallel/test-repl-tab-complete.js +++ b/test/parallel/test-repl-tab-complete.js @@ -2,11 +2,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');