[Tests] Set up “mocks” directory, and updater script.

This commit is contained in:
Jordan Harband
2016-04-19 22:49:49 -07:00
parent ac18d01854
commit 96afff7af2
5 changed files with 19 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ cleanup() {
. ../../../nvm.sh
# sample output at the time the test was written
TAB_PATH="$PWD/nodejs.org-dist-index.tab"
TAB_PATH="$PWD/mocks/nodejs.org-dist-index.tab"
nvm_download() {
cat "$TAB_PATH"
}

View File

@@ -9,7 +9,7 @@ cleanup() {
. ../../../nvm.sh
# sample output at the time the test was written
TAB_PATH="$PWD/iojs.org-dist-index.tab"
TAB_PATH="$PWD/mocks/iojs.org-dist-index.tab"
nvm_download() {
cat "$TAB_PATH"
}