Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit b307582

Browse filesBrowse 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
Copy full SHA for b307582

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Open diff view settings
Collapse file

‎test/parallel/test-repl.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-repl.js
+2-1Lines changed: 2 additions & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.