Skip to content

Commit dbf1d8c

Browse files
committed
test: replace usage of common.fixtures by common.fixturesDir
In test/parallel/test-process-redirect-warning.js replace usage of common.fixture by common.fixturesDir
1 parent 4f339b5 commit dbf1d8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
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 = fixtures.path('warnings.js');
1718
const warnpath = path.join(common.tmpDir, 'warnings.txt');
1819

1920
fork(warnmod, { execArgv: [`--redirect-warnings=${warnpath}`] })

0 commit comments

Comments
 (0)