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: nodejs/node#15818
Reviewed-By: Ryan Graham <r.m.graham@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
ruyadorno authored and addaleax committed Oct 11, 2017
1 parent 49a9a93 commit 4f7eba5
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 4f7eba5

Please sign in to comment.