mirror of
https://github.com/nodejs/node.git
synced 2026-11-30 11:55:44 -05:00
test: replace fixturesDir with fixtures
PR-URL: https://github.com/nodejs/node/pull/15949 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
1 parent
30631528e4
commit
e12dc40c2f
1 file changed
+3
-2
@@ -1,11 +1,12 @@
|
||||
'use strict';
|
||||
const common = require('../common');
|
||||
const fixtures = require('../common/fixtures');
|
||||
const assert = require('assert');
|
||||
const join = require('path').join;
|
||||
const { join } = require('path');
|
||||
const childProcess = require('child_process');
|
||||
const fs = require('fs');
|
||||
|
||||
const stdoutScript = join(common.fixturesDir, 'echo-close-check.js');
|
||||
const stdoutScript = fixtures.path('echo-close-check.js');
|
||||
const tmpFile = join(common.tmpDir, 'stdin.txt');
|
||||
|
||||
const cmd = `"${process.argv[0]}" "${stdoutScript}" < "${tmpFile}"`;
|
||||
|
||||
Reference in new issue
Block a user