[Tests] update most mkdirs to use make_fake_{node,iojs}

This commit is contained in:
Joshua Li
2018-06-13 10:38:19 -07:00
committed by Jordan Harband
parent eabd7ab13d
commit a5f42d9cea
21 changed files with 107 additions and 90 deletions

View File

@@ -1,14 +1,14 @@
#!/bin/sh
\. ../../../nvm.sh
\. ../../common.sh
cleanup () {
rm -rf "${NVM_DIR}/v0.1.2/node"
rm -rf "${NVM_DIR}/v0.1.2"
}
die () { echo "$@" ; exit 1; }
mkdir "${NVM_DIR}/v0.1.2"
touch "${NVM_DIR}/v0.1.2/node"
make_fake_node v0.1.2
nvm use 0.1.2