Adding a slow `nvm current` test, since it needs an installed version of node.

master
Jordan Harband 2014-07-20 23:41:11 -07:00
parent 55677dba4a
commit 4512337c11
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/sh
die () { echo $@ ; exit 1; }
. ../../nvm.sh
nvm install 0.10
[ "$(nvm current)" = "$(node -v)" ] || die "Failed to find current version: got \"$(nvm current)\", expected \"$(node -v)\""