nvm/test/fast
Jordan Harband 76fe1ab1c6
[Fix] ensure that `lts/*` points to boron/latest, not argon/earliest.
- update test mocks
 - fix tests for Boron release

Fixes #1268.
2016-10-18 11:33:07 -07:00
..
Aliases [Tests] `nvm alias --lts`: add tests 2016-06-26 15:11:37 -07:00
Listing paths [Tests] use `$NVM_DIR` instead of relative paths 2016-06-26 15:52:26 -07:00
Listing versions [Tests] use `$NVM_DIR` instead of relative paths 2016-06-26 15:52:26 -07:00
Unit tests [Fix] ensure that `lts/*` points to boron/latest, not argon/earliest. 2016-10-18 11:33:07 -07:00
Running "nvm alias" should create a file in the alias directory. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm current" should display current nvm environment. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm deactivate" should unset the nvm environment variables. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm install" with "--reinstall-packages-from" requires a valid version [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm install" with an invalid version fails nicely [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm unalias" should remove the alias file. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -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. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm use foo" where "foo" is circular aborts [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm use iojs" uses latest io.js version [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm use system" should work as expected [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm use x" should create and change the "current" symlink [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Sourcing nvm.sh should make the nvm command available. [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -07:00
Sourcing nvm.sh should not modify parameters of caller [Tests] use `-ex` option during tests when possible 2016-07-10 19:58:32 -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