tests: fail install_script test if npm can't install package

master
elliottcable 2015-02-07 20:53:53 -06:00
parent c8efe3d28a
commit a216f56443
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ setup () {
setup
npm install -g nop >/dev/null
npm install -g nop >/dev/null || die 'nvm_check_global_modules cannot be tested because `npm` cannot install the `nop` package'
message=$(nvm_check_global_modules)
[ ! -z "$message" ] || {
puts '-- `npm --version`: '"$(npm --version)"