Skip to content

Commit

Permalink
test: replace fixturesDir with fixtures
Browse files Browse the repository at this point in the history
PR-URL: #15949
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
mujz authored and MylesBorins committed Nov 28, 2017
1 parent 25a5bf0 commit be2b70b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/parallel/test-stdin-from-file.js
Original file line number Diff line number Diff line change
@@ -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}"`;
Expand Down

0 comments on commit be2b70b

Please sign in to comment.