Skip to content

Commit

Permalink
test: replace common.fixturesDir with fixtures
Browse files Browse the repository at this point in the history
PR-URL: #16015
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
sharpstef authored and targos committed Oct 18, 2017
1 parent 25335ec commit d7ec89c
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 d7ec89c

Please sign in to comment.