Skip to content

Commit 91dfb5e

Browse files
committed
tools: make test-npm work without global npm
Futher discussion at nodejs/node-v0.x-archive#25294 PR-URL: #1926 Reviewed-By: Rod Vagg <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 88c1831 commit 91dfb5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/test-npm.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export npm_config_tmp="npm-tmp"
3030

3131
# install npm devDependencies and run npm's tests
3232
../$NODE_EXE cli.js install --ignore-scripts
33-
../$NODE_EXE cli.js run-script test-all
33+
../$NODE_EXE cli.js run-script test-legacy
34+
../$NODE_EXE cli.js run-script test
3435

3536
# clean up everything one single shot
3637
cd .. && rm -rf test-npm

0 commit comments

Comments
 (0)