summaryrefslogtreecommitdiff
path: root/test/parallel/test-repl-tab-complete.js
diff options
context:
space:
mode:
authorStefania Sharp <stefaniasharp@gmail.com>2017-10-06 11:49:42 -0700
committerDaniel Bevenius <daniel.bevenius@gmail.com>2017-10-11 08:15:05 +0200
commit23b4bf88a3c214bcd5a315938bdff5254d66dd8a (patch)
tree023434474c037134a0a6a07b598e8f61695c89b4 /test/parallel/test-repl-tab-complete.js
parent2ea902b47ba27fb4932a3418740725ad065ee88c (diff)
downloadandroid-node-v8-23b4bf88a3c214bcd5a315938bdff5254d66dd8a.tar.gz
android-node-v8-23b4bf88a3c214bcd5a315938bdff5254d66dd8a.tar.bz2
android-node-v8-23b4bf88a3c214bcd5a315938bdff5254d66dd8a.zip
test: replace common.fixturesDir with fixtures
PR-URL: https://github.com/nodejs/node/pull/16015 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/parallel/test-repl-tab-complete.js')
-rw-r--r--test/parallel/test-repl-tab-complete.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/parallel/test-repl-tab-complete.js b/test/parallel/test-repl-tab-complete.js
index da8db7a57b..8dd8046427 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');