nvm/test/fast/Unit tests
Rodrigo Espinosa de los Monteros 4da7f101a2
[Fix] `nvm_alias`: ensure `lts/-1` returns the one before `lts/*`
Fixes #2461
2021-03-11 16:22:31 -05:00
..
mocks [Tests] update mocks 2021-03-11 13:06:41 -08:00
nvm ls-remote [New] Added `set-colors` command. See details below: 2020-08-17 14:56:13 -07:00
nvm set_colors [New] Added `set-colors` command. See details below: 2020-08-17 14:56:13 -07:00
nvm version-remote [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_add_iojs_prefix [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_alias Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_alias LTS-N [Fix] `nvm_alias`: ensure `lts/-1` returns the one before `lts/*` 2021-03-11 16:22:31 -05:00
nvm_alias_path [Docs] fix spelling 2018-03-06 04:38:01 +00:00
nvm_change_path [meta] update repo links to point to org 2019-04-24 16:08:34 -07:00
nvm_check_for_help [Fix] ensure `--help` is intercepted on any command 2020-08-04 16:32:19 -07:00
nvm_clang_version Add `nvm_clang_version` to ensure clang version > 3.5 2016-11-14 12:28:41 +08:00
nvm_command_info [Tests] `nvm_command_info`: make error output more helpful 2019-02-25 13:17:10 -08:00
nvm_compare_checksum [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_compute_checksum [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_curl_libz_support [New] Dynamically detect if curl supports `--compressed` 2017-03-23 16:51:20 +08:00
nvm_curl_use_compression [Fix] enable curl compression only on curl >=7.21.0 2017-06-10 15:25:26 +08:00
nvm_curl_version [Fix] enable curl compression only on curl >=7.21.0 2017-06-10 15:25:26 +08:00
nvm_die_on_prefix Revert "[Fix] `nvm_die_on_prefix`: only grep lines starting with env var name" (#2347) 2020-11-27 21:28:12 -08:00
nvm_download [Tests] Add unit test for nvm_download 2021-01-13 02:26:38 +01:00
nvm_ensure_default_set [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_ensure_version_installed [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
nvm_ensure_version_prefix [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_find_project_dir [New] add `nvm_find_project_dir` helper 2020-08-23 14:40:42 -07:00
nvm_find_up Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_format_version Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_get_arch [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_get_artifact_compression [Refactor] add `nvm_get_artifact_compression` 2021-01-02 00:03:24 +01:00
nvm_get_checksum [Refactor] add `nvm_get_artifact_compression` 2021-01-02 00:03:24 +01:00
nvm_get_checksum_alg [New] add support for `$NVM_DIR/default-packages` file 2017-03-28 09:37:14 -07:00
nvm_get_checksum_binary [Refactor] add `nvm_get_checksum_binary`; use it in `nvm debug` 2020-07-31 22:13:21 -07:00
nvm_get_colors [New] Added `set-colors` command. See details below: 2020-08-17 14:56:13 -07:00
nvm_get_default_packages [Tests] Source nvm.sh before defining FILE 2020-03-19 12:13:29 +01:00
nvm_get_latest missing curl or wget [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_get_minor_version [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_get_mirror [New] add support for `$NVM_DIR/default-packages` file 2017-03-28 09:37:14 -07:00
nvm_has Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_has_non_aliased [Refactor] Add `nvm_has_non_aliased` 2017-03-20 16:57:26 +08:00
nvm_has_solaris_binary [Docs] fix spelling 2018-03-06 04:38:01 +00:00
nvm_has_system_iojs [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
nvm_has_system_node [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
nvm_install_binary_extract [Refactor] add `nvm_install_binary_extract` 2021-01-02 00:03:24 +01:00
nvm_install_binary_nosource [New] `install`: add `-b` flag to skip building from source 2021-02-16 19:34:23 +05:30
nvm_install_latest_npm [New] `nvm install`: add `--latest-npm` option to automatically try to upgrade to the latest working version of `npm`. 2017-06-11 14:15:04 -07:00
nvm_install_no_progress_bar [New] Support `--no-progress` for `nvm install` 2017-03-10 01:07:16 +08:00
nvm_iojs_prefix [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_iojs_version_has_solaris_binary [Refactor] Rename solaris and iojs helper functions to be nvm_ prefixed 2020-05-08 16:08:27 -04:00
nvm_is_alias [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_is_iojs_version [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_is_merged_node_version [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_is_natural_num [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_is_valid_version [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_ls_current [Tests] Fix `nvm_ls_current` fast test 2020-10-13 12:32:41 -04:00
nvm_ls_remote [Fix] `nvm ls-remote`: accept versions that end with a dot 2020-09-24 13:46:29 -07:00
nvm_ls_remote LTS aliases [Tests] update mocks 2021-03-11 13:06:41 -08:00
nvm_ls_remote nightly [Tests] `nvm ls-remote`: add test for overly-large tab file 2018-05-23 23:48:04 -04:00
nvm_ls_remote_iojs Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_make_alias [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_node_prefix [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_node_version_has_solaris_binary [Refactor] Rename solaris and iojs helper functions to be nvm_ prefixed 2020-05-08 16:08:27 -04:00
nvm_num_version_groups Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_print_alias_path [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_print_color_code [New] Added `set-colors` command. See details below: 2020-08-17 14:56:13 -07:00
nvm_print_default_alias [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_print_implicit_alias errors Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_print_implicit_alias success [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
nvm_print_npm_version [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_remote_version [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_remote_versions Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_stdout_is_terminal [Refactor] add `nvm_stdout_is_terminal` helper 2019-02-24 00:03:19 +01:00
nvm_strip_iojs_prefix [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_strip_path [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_supports_xz [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_tree_contains_path Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_use_if_needed [Fix] `nvm install -s`: npm detection 2017-03-27 15:00:50 -07:00
nvm_validate_implicit_alias Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_version [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
nvm_version_dir Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_version_greater Remove useless trailing newlines 2018-02-26 01:01:30 +08:00
nvm_version_path Remove useless trailing newlines 2018-02-26 01:01:30 +08:00