Skip to content

Commit 011c178

Browse files
test: move to common.fixtures
1 parent 92146e0 commit 011c178

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)