Jordan Harband
c451e7a4c8
[Tests] set $_ before sourcing nvm.sh in fast tests
...
nvm.sh uses `NVM_SCRIPT_SOURCE="$_"` to detect its source location.
Adding `: nvm.sh` before each source line ensures `$_` is set correctly, preventing breakage when the previous command (e.g., `set -ex`) overwrites it.
2026-01-26 21:41:57 -08:00
Dena Burd
c72f2c6f21
[Fix] nvm ls-remote: accept versions that end with a dot
...
Fixes #983 .
2020-09-24 13:46:29 -07:00
Peter Dave Hello
f7763c8ba9
[Tests] die() in tests should quote "$@" for echo
2016-11-07 03:34:36 +08:00
Qiangjun Ran
cadbbced20
[Tests] Replace all dots with backslash dots
2016-11-03 23:44:59 -07:00
Jordan Harband
a29d0e49dc
[Tests] improve + update test mocks
2016-09-28 22:42:48 -07:00
Peter Dave Hello
702d52f23b
update test mocks
2016-09-29 10:27:24 +08:00
Jordan Harband
f60edbb6b4
[Tests] update test mocks
2016-09-18 11:58:18 -07:00
Jordan Harband
ae07c3c345
Add support for nvm ls-remote --lts
2016-04-23 23:47:25 -07:00
Jordan Harband
ce60b6c44a
[Tests] update test mocks
2016-06-25 17:03:46 -07:00
Jordan Harband
ec54c925c1
[Tests] use mocks for nvm_ls_remote/nvm_ls_remote_iojs tests.
2016-04-27 01:25:56 -07:00
Jordan Harband
96afff7af2
[Tests] Set up “mocks” directory, and updater script.
2016-04-19 22:49:49 -07:00
Jordan Harband
ac18d01854
[Tests] update index.tab data mocks.
2016-04-18 20:43:08 -07:00
Peter Dave Hello
ec9232bb06
update nodejs.org-dist-index.tab and related test
...
Src: https://iojs.org/dist/index.tab
2015-12-21 20:50:54 +08:00
Jordan Harband
114f27a075
Use nvm_ls_remote_index_tab for listing nodejs.org versions.
...
Enabled by https://github.com/nodejs/build/issues/218 , unblocks #870 .
2015-10-17 10:34:42 -07:00
Jordan Harband
4cdf356cdc
Support nvm ls-remote stable and nvm ls-remote unstable
2014-09-29 00:10:06 -07:00
Jordan Harband
cd4fc8fb2c
Adding unit tests for nvm_ls_remote
...
`nvm_download` is stubbed, to avoid making network calls.
2014-09-28 22:00:20 -07:00