Skip to content

Commit 244bfb3

Browse files
frkatMylesBorins
authored andcommitted
test: fixtures in test-process-redirect-warnings-env
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>
1 parent 18479d3 commit 244bfb3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/parallel/test-process-redirect-warnings-env.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@
66
// opened and the contents are validated
77

88
const common = require('../common');
9+
const fixtures = require('../common/fixtures');
910
const fs = require('fs');
1011
const fork = require('child_process').fork;
1112
const path = require('path');
1213
const assert = require('assert');
1314

1415
common.refreshTmpDir();
1516

16-
const warnmod = require.resolve(common.fixturesDir + '/warnings.js');
17+
const warnmod = require.resolve(fixtures.path('warnings.js'));
1718
const warnpath = path.join(common.tmpDir, 'warnings.txt');
1819

1920
fork(warnmod, {env: {NODE_REDIRECT_WARNINGS: warnpath}})

0 commit comments

Comments
 (0)