mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-10 16:49:06 +00:00
[Tests] use mocks for nvm_ls_remote
/nvm_ls_remote_iojs
tests.
This commit is contained in:
@@ -11,6 +11,8 @@ mkdir -p MOCKS_DIR
|
||||
|
||||
. "$NVM_DIR/nvm.sh"
|
||||
|
||||
nvm_ls_remote > "$MOCKS_DIR/nvm_ls_remote.txt"
|
||||
nvm_ls_remote_iojs > "$MOCKS_DIR/nvm_ls_remote_iojs.txt"
|
||||
nvm_download -L -s "$NVM_NODEJS_ORG_MIRROR/index.tab" -o - > "$MOCKS_DIR/nodejs.org-dist-index.tab"
|
||||
nvm_download -L -s "$NVM_IOJS_ORG_MIRROR/index.tab" -o - > "$MOCKS_DIR/iojs.org-dist-index.tab"
|
||||
|
||||
|
Reference in New Issue
Block a user