Skip to content

Commit 68a2d39

Browse files
suresh-srinivasMylesBorins
authored andcommitted
test: use fixtures in test-process-warnings
PR-URL: #15869 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
1 parent 28756b3 commit 68a2d39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/sequential/test-process-warnings.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
'use strict';
22

3-
const common = require('../common');
3+
require('../common');
4+
const fixtures = require('../common/fixtures');
45
const assert = require('assert');
56
const execFile = require('child_process').execFile;
6-
const warnmod = require.resolve(`${common.fixturesDir}/warnings.js`);
7+
const warnmod = require.resolve(fixtures.path('warnings.js'));
78
const node = process.execPath;
89

910
const normal = [warnmod];

0 commit comments

Comments
 (0)