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 d1bb608 commit ece6cd1Copy full SHA for ece6cd1
test/parallel/test-npm-install.js
@@ -7,6 +7,7 @@ const path = require('path');
7
const exec = require('child_process').exec;
8
const assert = require('assert');
9
const fs = require('fs');
10
+const fixtures = require('../common/fixtures');
11
12
common.refreshTmpDir();
13
const npmSandbox = path.join(common.tmpDir, 'npm-sandbox');
@@ -26,7 +27,7 @@ const npmPath = path.join(
26
27
28
const pkgContent = JSON.stringify({
29
dependencies: {
- 'package-name': `${common.fixturesDir}/packages/main`
30
+ 'package-name': fixtures.path('packages/main')
31
}
32
});
33
0 commit comments