Browse Source

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>
v9.x-staging
Mujtaba Al-Tameemi 7 years ago
committed by Ruben Bridgewater
parent
commit
3a265556ec
No known key found for this signature in database GPG Key ID: F07496B3EB3C1762
  1. 5
      test/parallel/test-stdin-from-file.js

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

@ -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…
Cancel
Save