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>
sharpstef authored and addaleax committed Oct 11, 2017

Verified

This commit was signed with the committer’s verified signature. The key has expired.
addaleax Anna Henningsen
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
@@ -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');

0 comments on commit 5aeda4d

Please sign in to comment.