Google Git
Sign in
cobalt / third_party / nvm / 43a7d786936ef1fe5fd954c8eee2e41434718574 / . / test / fast
tree: 8dde3508d4721025cd9774058ed9bd600025d592 [path history] [tgz]
  1. Aliases/
  2. Listing paths/
  3. Listing versions/
  4. Unit tests/
  5. Running "nvm alias" should create a file in the alias directory.
  6. Running "nvm current" should display current nvm environment.
  7. Running "nvm deactivate" should unset the nvm environment variables.
  8. Running "nvm install" with "--reinstall-packages-from" requires a valid version
  9. Running "nvm install" with an invalid version fails nicely
  10. Running "nvm unalias" should remove the alias file.
  11. Running "nvm uninstall" should remove the appropriate directory.
  12. Running "nvm unload" should unset all function and variables.
  13. Running "nvm use foo" where "foo" is circular aborts
  14. Running "nvm use system" should work as expected
  15. Running "nvm use x" should create and change the "current" symlink
  16. Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false
  17. setup
  18. setup_dir
  19. Sourcing nvm.sh should make the nvm command available.
  20. teardown
  21. teardown_dir
Powered by Gitiles| Privacy| Termstxt json