nvm/test/fast
Jordan Harband 3b57dfec8d
Revert "[Fix] `nvm_die_on_prefix`: only grep lines starting with env var name" (#2347)
This reverts commit 21c0c05130.

Fixes #2360. Fixes #2364. Fixes #2366.
2020-11-27 21:28:12 -08:00
..
Aliases [New] Added `set-colors` command. See details below: 2020-08-17 14:56:13 -07:00
Listing paths [Tests] use rimraf over `rmdir` in teardowns 2019-02-27 10:50:59 +01:00
Listing versions [Fix] `nvm_ls`: zsh: unset `markdirs` and `local_options` 2020-10-09 09:43:21 -05:00
Set Colors [New] Added `set-colors` command. See details below: 2020-08-17 14:56:13 -07:00
Unit tests Revert "[Fix] `nvm_die_on_prefix`: only grep lines starting with env var name" (#2347) 2020-11-27 21:28:12 -08:00
Running "nvm alias" should create a file in the alias directory. [Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Running "nvm current" should display current nvm environment. [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
Running "nvm deactivate" should unset the nvm environment variables. [Fix] Improve `nvm_is_version_installed` to check for a node executable instead of root dir 2018-05-31 15:26:30 -07:00
Running "nvm install" with "--reinstall-packages-from" requires a valid version [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm install" with an invalid version fails nicely [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
Running "nvm unalias" should remove the alias file. [Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Running "nvm uninstall" should remove the appropriate directory. [Fix] Improve `nvm_is_version_installed` to check for a node executable instead of root dir 2018-05-31 15:26:30 -07:00
Running "nvm uninstall" with incorrect file permissions fails nicely [Fix] Improve `nvm_is_version_installed` to check for a node executable instead of root dir 2018-05-31 15:26:30 -07:00
Running "nvm unload" should unset all function and variables. [Tests] Fix nvm unload fast test cleanup 2020-10-22 20:43:36 -07:00
Running "nvm use foo" where "foo" is circular aborts [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
Running "nvm use iojs" uses latest io.js version [Tests] Run fast test suite in clean environment 2020-11-03 19:05:34 -05:00
Running "nvm use system" should work as expected [Fix] `set -u`: ensure `NVM_USE_OUTPUT` is always set. 2017-11-23 10:02:37 -06:00
Running "nvm use x" should create and change the "current" symlink [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false [Tests] update most mkdirs to use make_fake_{node,iojs} 2018-06-13 10:38:19 -07:00
Running "nvm use" should drop CR char automatically. [Fix] Improve .nvmrc reading process 2018-02-20 03:34:43 +08:00
Sourcing nvm.sh should make the nvm command available. [Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Sourcing nvm.sh should not modify parameters of caller [Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
nvm should remove the last trailing slash in $NVM_DIR [Fix] Remove $NVM_DIR trailing slash automatically, fix #1708 2018-04-12 14:14:58 +08:00
setup [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
setup_dir [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
teardown [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
teardown_dir [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00