We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dae9fae commit 133f00bCopy full SHA for 133f00b
tools/test-npm.sh
@@ -29,10 +29,10 @@ export npm_config_prefix="npm-prefix"
29
export npm_config_tmp="npm-tmp"
30
31
# install npm devDependencies and run npm's tests
32
-
33
-../$NODE cli.js install --ignore-scripts
34
-../$NODE cli.js run-script test-legacy
35
-../$NODE cli.js run-script test
+NODEPATH="$(../$NODE -p 'require("path").resolve("..")')"
+PATH="$NODEPATH:$PATH" ../$NODE cli.js install --ignore-scripts
+PATH="$NODEPATH:$PATH" ../$NODE test/run.js
+PATH="$NODEPATH:$PATH" ../$NODE cli.js run-script tap -- "test/tap/*.js"
36
37
# clean up everything one single shot
38
cd .. && rm -rf test-npm
0 commit comments