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 33ea6de commit e81fc8aCopy full SHA for e81fc8a
test/parallel/test-path-resolve.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 child = require('child_process');
6
const path = require('path');
@@ -62,7 +63,7 @@ if (common.isWindows) {
62
63
// Test resolving the current Windows drive letter from a spawned process.
64
// See https://github.com/nodejs/node/issues/7215
65
const currentDriveLetter = path.parse(process.cwd()).root.substring(0, 2);
- const resolveFixture = path.join(common.fixturesDir, 'path-resolve.js');
66
+ const resolveFixture = fixtures.path('path-resolve.js');
67
const spawnResult = child.spawnSync(
68
process.argv[0], [resolveFixture, currentDriveLetter]);
69
const resolvedPath = spawnResult.stdout.toString().trim();
0 commit comments