Skip to content

Commit

Permalink
test: replace common.fixturesDir with fixtures
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#16015
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
sharpstef authored and addaleax committed Oct 11, 2017
1 parent 4f7eba5 commit 5aeda4d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-repl-tab-complete.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');

Expand Down

0 comments on commit 5aeda4d

Please sign in to comment.