mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-09-10 08:39:07 +00:00
[Tests] Set up “mocks” directory, and updater script.
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
@@ -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"
|
||||
}
|
||||
|
Reference in New Issue
Block a user