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:
parent
fcb0079c5f
commit
3a265556ec
@ -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}"`;
|
||||
|
Loading…
x
Reference in New Issue
Block a user