Skip to content

Commit 29259bb

Browse files
mujzMylesBorins
authored andcommitted
test: replace fixturesDir with fixtures
PR-URL: #15949 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
1 parent 95a8d1f commit 29259bb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/parallel/test-stdin-from-file.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
'use strict';
22
const common = require('../common');
3+
const fixtures = require('../common/fixtures');
34
const assert = require('assert');
4-
const join = require('path').join;
5+
const { join } = require('path');
56
const childProcess = require('child_process');
67
const fs = require('fs');
78

8-
const stdoutScript = join(common.fixturesDir, 'echo-close-check.js');
9+
const stdoutScript = fixtures.path('echo-close-check.js');
910
const tmpFile = join(common.tmpDir, 'stdin.txt');
1011

1112
const cmd = `"${process.argv[0]}" "${stdoutScript}" < "${tmpFile}"`;

0 commit comments

Comments
 (0)