Skip to content

Commit 87b9b7c

Browse files
JustinBeckwithMylesBorins
authored andcommitted
test: move to common.fixtures
PR-URL: #15987 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Yuta Hiroto <hello@about-hiroppy.com>
1 parent 72f69f3 commit 87b9b7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-module-loading-globalpaths.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use strict';
22
const common = require('../common');
3+
const fixtures = require('../common/fixtures');
34
const assert = require('assert');
45
const path = require('path');
56
const fs = require('fs');
@@ -33,8 +34,7 @@ if (process.argv[2] === 'child') {
3334
assert.strictEqual(child.trim(), expectedString);
3435
};
3536

36-
const testFixturesDir = path.join(common.fixturesDir,
37-
path.basename(__filename, '.js'));
37+
const testFixturesDir = fixtures.path(path.basename(__filename, '.js'));
3838

3939
const env = Object.assign({}, process.env);
4040
// Turn on module debug to aid diagnosing failures.

0 commit comments

Comments
 (0)