8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25a5bf0 commit be2b70bCopy full SHA for be2b70b
test/parallel/test-stdin-from-file.js
@@ -1,11 +1,12 @@
1
'use strict';
2
const common = require('../common');
3
+const fixtures = require('../common/fixtures');
4
const assert = require('assert');
-const join = require('path').join;
5
+const { join } = require('path');
6
const childProcess = require('child_process');
7
const fs = require('fs');
8
-const stdoutScript = join(common.fixturesDir, 'echo-close-check.js');
9
+const stdoutScript = fixtures.path('echo-close-check.js');
10
const tmpFile = join(common.tmpDir, 'stdin.txt');
11
12
const cmd = `"${process.argv[0]}" "${stdoutScript}" < "${tmpFile}"`;
0 commit comments