Skip to content

Commit

Permalink
test: use fixtures module in test-repl
Browse files Browse the repository at this point in the history
PR-URL: #16809
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
DamianLion authored and MylesBorins committed Nov 28, 2017
1 parent 9f9e824 commit 54d4557
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-repl.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';

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

common.globalCheck = false;
Expand All @@ -20,7 +21,7 @@ let server_tcp, server_unix, client_tcp, client_unix, replServer;


// absolute path to test/fixtures/a.js
const moduleFilename = require('path').join(common.fixturesDir, 'a');
const moduleFilename = fixtures.path('a');

console.error('repl test');

Expand Down

0 comments on commit 54d4557

Please sign in to comment.