nvm/test/fast
Jordan Harband a57fe846e8
[Fix] `set -u`: ensure `NVM_USE_OUTPUT` is always set.
Fixes #1671.
2017-11-23 10:02:37 -06:00
..
Aliases [Test] "nvm alias" lts test bug fix 2017-04-02 14:34:04 +08:00
Listing paths [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08:00
Listing versions [Fix] set IFS to default for all nvm commands. 2017-04-28 00:41:55 -07:00
Unit tests Add symbolic link for printf in case of command-not-found 2017-11-22 02:01:38 +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. [Tests] remove the unused and broken `$NVM_PATH`. 2016-12-16 11:23:23 -08:00
Running "nvm install" with "--reinstall-packages-from" requires a valid version [Tests] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08: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. [Breaking] cache previously downloaded artifacts for source installs 2016-09-02 23:43:46 -07:00
Running "nvm uninstall" with incorrect file permissions fails nicely [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm unload" should unset all function and variables. [New] add support for `$NVM_DIR/default-packages` file 2017-03-28 09:37:14 -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] die() in tests should quote "$@" for echo 2016-11-07 03:34:36 +08: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] Replace all dots with backslash dots 2016-11-03 23:44:59 -07:00
Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false [Tests] Replace all dots with backslash dots 2016-11-03 23:44:59 -07: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
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