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