We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72f69f3 commit 87b9b7cCopy full SHA for 87b9b7c
test/parallel/test-module-loading-globalpaths.js
@@ -1,5 +1,6 @@
1
'use strict';
2
const common = require('../common');
3
+const fixtures = require('../common/fixtures');
4
const assert = require('assert');
5
const path = require('path');
6
const fs = require('fs');
@@ -33,8 +34,7 @@ if (process.argv[2] === 'child') {
33
34
assert.strictEqual(child.trim(), expectedString);
35
};
36
- const testFixturesDir = path.join(common.fixturesDir,
37
- path.basename(__filename, '.js'));
+ const testFixturesDir = fixtures.path(path.basename(__filename, '.js'));
38
39
const env = Object.assign({}, process.env);
40
// Turn on module debug to aid diagnosing failures.
0 commit comments