Skip to content

Commit b307582

Browse files
DamianLionMylesBorins
authored andcommitted
test: use fixtures module in test-repl
PR-URL: #16809 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 5719bea commit b307582

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-repl.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
'use strict';
2323
const common = require('../common');
24+
const fixtures = require('../common/fixtures');
2425
const assert = require('assert');
2526

2627
common.globalCheck = false;
@@ -40,7 +41,7 @@ let server_tcp, server_unix, client_tcp, client_unix, replServer;
4041

4142

4243
// absolute path to test/fixtures/a.js
43-
const moduleFilename = require('path').join(common.fixturesDir, 'a');
44+
const moduleFilename = fixtures.path('a');
4445

4546
console.error('repl test');
4647

0 commit comments

Comments
 (0)