Browse Source

Check node can be loaded manually in NVM_NO_USE test

pull/10/head
Luke Childs 8 years ago
parent
commit
385f4afef9
  1. 6
      tests/options/NVM_NO_USE

6
tests/options/NVM_NO_USE

@ -18,3 +18,9 @@ load_zsh_nvm
# Check node still isn't available
[[ "$(node --version)" != "$node_version" ]] || die "node shouldn't be available $(node --version)"
# Manually load node
nvm use "$node_version"
# Check node is a binary
[[ "$(command -v node)" != "node" ]] || die "node should now be a binary"

Loading…
Cancel
Save