We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 827ee49 commit 754061fCopy full SHA for 754061f
tools/test-npm.sh
@@ -30,11 +30,14 @@ export npm_config_tmp="$(pwd)/npm-tmp"
30
31
# ensure npm always uses the local node
32
export PATH="$(../$NODE -p 'require("path").resolve("..")'):$PATH"
33
+unset NODE
34
35
+# make sure the binaries from the non-dev-deps are available
36
+node cli.js rebuild
37
# install npm devDependencies and run npm's tests
-../$NODE cli.js install --ignore-scripts
-../$NODE test/run.js
-../$NODE cli.js run-script tap -- "test/tap/*.js"
38
+node cli.js install --ignore-scripts
39
+# run the tests
40
+node cli.js run-script test-node
41
42
# clean up everything one single shot
43
cd .. && rm -rf test-npm
0 commit comments