Skip to content

Commit

Permalink
test: replaces common.fixturesDir usage
Browse files Browse the repository at this point in the history
In test/parallel/test-repl-require.js replaces usage of
common.fixturesDir with common/fixtures.

Part of Node.js Interactive 2017 Code & Learn

PR-URL: #15818
Reviewed-By: Ryan Graham <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
  • Loading branch information
ruyadorno authored and MylesBorins committed Nov 28, 2017
1 parent 788d7db commit 4cf84ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-repl-require.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
'use strict';

const common = require('../common');
const fixtures = require('../common/fixtures');
const assert = require('assert');
const net = require('net');

process.chdir(common.fixturesDir);
process.chdir(fixtures.fixturesDir);
const repl = require('repl');

const server = net.createServer((conn) => {
Expand Down

0 comments on commit 4cf84ea

Please sign in to comment.