[Tests] add nvm_grep to install script, fix tests

This commit is contained in:
nmarghetti
2021-01-08 18:54:40 +01:00
committed by Jordan Harband
parent 436cda247e
commit 9f3397afa4
2 changed files with 7 additions and 1 deletions

View File

@@ -6,5 +6,7 @@ die () { echo "$@" ; exit 1; }
unset NVM_DIR
NODE_VERSION=8 \. ../../install.sh
. "${NVM_DIR}/nvm.sh"
# nvm installed node 8
nvm ls 8 > /dev/null 2>&1 || die "nvm didn't install node 8"