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: nodejs#16809
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
  • Loading branch information
DamianLion authored and cjihrig committed Nov 7, 2017
1 parent ef67980 commit 6831e42
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
Expand Up @@ -21,6 +21,7 @@

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

common.globalCheck = false;
Expand All @@ -40,7 +41,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 6831e42

Please sign in to comment.