Skip to content

Commit

Permalink
test: fixtures in test-process-redirect-warnings-env
Browse files Browse the repository at this point in the history
Replaced common.fixturesDir with common.fixtures in
test-process-redirect-warnings-env

PR-URL: #15930
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
frkat authored and targos committed Oct 18, 2017
1 parent 8e2064f commit 969c87e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/parallel/test-process-redirect-warnings-env.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
// opened and the contents are validated

const common = require('../common');
const fixtures = require('../common/fixtures');
const fs = require('fs');
const fork = require('child_process').fork;
const path = require('path');
const assert = require('assert');

common.refreshTmpDir();

const warnmod = require.resolve(`${common.fixturesDir}/warnings.js`);
const warnmod = require.resolve(fixtures.path('warnings.js'));
const warnpath = path.join(common.tmpDir, 'warnings.txt');

fork(warnmod, { env: Object.assign({}, process.env,
Expand Down

0 comments on commit 969c87e

Please sign in to comment.