mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
25335ec513
commit
d7ec89ce34
1 file changed
+2
-1
@@ -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');
|
||||
|
||||
|
||||
Reference in new issue
Block a user