This website requires JavaScript.
Explore
Help
Register
Sign In
273345896
/
nvm
Watch
1
Star
0
Fork
You've already forked nvm
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
5363ff8916
nvm
/
test
/
fast
History
Jordan Harband
97d4e2f88f
Unit tests: add `nvm_find_up`
2014-09-15 09:09:56 -07:00
..
Aliases
tests from readme
2012-10-11 16:12:50 -04:00
Listing versions
All 4 of these test files should be executable.
2014-09-14 16:03:55 -07:00
Unit tests
Unit tests: add `nvm_find_up`
2014-09-15 09:09:56 -07:00
Running "nvm alias" should create a file in the alias directory.
Added travis config, fixed tests for use on travis
2014-03-17 14:33:25 +01:00
Running "nvm current" should display current nvm environment.
If nvm is deactivated, display "none" or "system" instead of the system node version
2014-07-21 02:03:18 -07:00
Running "nvm deactivate" should unset the nvm environment variables.
use sed for *PATH stripping
2014-05-05 21:43:22 +02:00
Running "nvm install" with an invalid version fails nicely
redirect stderr to stdout in test
2014-06-17 01:22:17 +02:00
Running "nvm unalias" should remove the alias file.
tests from readme
2012-10-11 16:12:50 -04:00
Running "nvm uninstall" should remove the appropriate directory.
tests from readme
2012-10-11 16:12:50 -04:00
Running "nvm unload" should unset all function and variables.
Adding a trailing newline
2014-05-28 20:54:25 -07:00
Running "nvm use system" should work as expected
`nvm use system` should work as expected.
2014-07-21 02:03:18 -07:00
Running "nvm use x" should create and change the "current" symlink
Making sure this test cleans up after itself.
2014-07-14 20:43:51 -07:00
Running "nvm use x" should not create the "current" symlink if $NVM_SYMLINK_CURRENT is false
`&>` is a bash-specific extension for redirecting both stdout and stderr.
2014-09-14 16:04:13 -07:00
Sourcing nvm.sh should make the nvm command available.
tests from readme
2012-10-11 16:12:50 -04:00
setup
Fix the setup/teardown urchin test scripts under zsh
2013-06-07 23:18:50 +02:00
setup_dir
Making sure that versions are backed up when running tests.
2014-08-20 00:37:38 -07:00
teardown
Fix the setup/teardown urchin test scripts under zsh
2013-06-07 23:18:50 +02:00
teardown_dir
Added travis config, fixed tests for use on travis
2014-03-17 14:33:25 +01:00