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>
This commit is contained in:
Stefania Sharp authored and Michaël Zasso committed 2017-10-17 21:21:45 -07:00
1 parent 25335ec513
commit d7ec89ce34
1 file changed
+2 -1
+2 -1
View File
@@ -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');