Skip to content
Myr

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

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by elliottcable · committed by elliottcable · parent c8efe3d · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • tests:+1 added−1 removed

1 file+1 added−1 removed

modified:test/install_script/nvm_check_global_modules+1 added-1 removed
25 unmodified lines
2627setup282930npm install -g nop >/dev/null30npm install -g nop >/dev/null || die 'nvm_check_global_modules cannot be tested because `npm` cannot install the `nop` package'31message=$(nvm_check_global_modules)32[ ! -z "$message" ] || {33 puts '-- `npm --version`: '"$(npm --version)"34 puts '-- `npm list -g`:'
53 unmodified lines