Add test nvm_install_with_node_version under test/install_script

Ahmad Magdy 2017-11-30 15:23:37 +01:00
parent c7ac69bfbb
commit 4b0563093c
1 changed files with 8 additions and 0 deletions

View File

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