We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f339b5 commit dbf1d8cCopy full SHA for dbf1d8c
test/parallel/test-process-redirect-warnings.js
@@ -6,14 +6,15 @@
6
// opened and the contents are validated
7
8
const common = require('../common');
9
+const fixtures = require('../common/fixtures');
10
const fs = require('fs');
11
const fork = require('child_process').fork;
12
const path = require('path');
13
const assert = require('assert');
14
15
common.refreshTmpDir();
16
-const warnmod = require.resolve(`${common.fixturesDir}/warnings.js`);
17
+const warnmod = fixtures.path('warnings.js');
18
const warnpath = path.join(common.tmpDir, 'warnings.txt');
19
20
fork(warnmod, { execArgv: [`--redirect-warnings=${warnpath}`] })
0 commit comments