Skip to content

Commit 61eb085

Browse files
gibfahnjasnell
authored andcommitted
tools, test: update test-npm-package paths
Makes the same changes as 9946173 to update the test runner for npm5. PR-URL: #13441 Refs: #12936 Reviewed-By: Jan Krems <jan.krems@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 0caa09d commit 61eb085

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/test-npm-package.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const path = require('path');
2424
const common = require('../test/common');
2525

2626
const projectDir = path.resolve(__dirname, '..');
27-
const npmBin = path.join(projectDir, 'deps', 'npm', 'cli.js');
27+
const npmBin = path.join(projectDir, 'deps', 'npm', 'bin', 'npm-cli.js');
2828
const nodePath = path.dirname(process.execPath);
2929

3030
function spawnCopyDeepSync(source, destination) {
@@ -82,6 +82,7 @@ function runNPMPackageTests({ srcDir, install, rebuild, testArgs, logfile }) {
8282
npmBin,
8383
'install',
8484
'--ignore-scripts',
85+
'--no-save',
8586
], npmOptions);
8687
}
8788

0 commit comments

Comments
 (0)