Skip to content

Commit

Permalink
test: use fixtures module in test-repl
Browse files Browse the repository at this point in the history
  • Loading branch information
DamianLion authored and Trott committed Nov 6, 2017
1 parent fb31e07 commit 8fbd549
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 8fbd549

Please sign in to comment.