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
d28703f9e0
nvm
/
test
/
fast
/
Listing versions
History
Jordan Harband
0ad5a450fe
Put node versions >= 0.12 in `versions/node` instead of just `versions`
2015-01-14 12:23:06 -08:00
..
Running "nvm ls 0.0.2" should display only version 0.0.2.
Adding a failing test: `nvm ls 0.0.x` includes `v0.0.xy`
2014-09-28 10:18:00 -07:00
Running "nvm ls 0.2" should display only 0.2.x versions.
Adding a failing test.
2014-07-12 11:02:14 -07:00
Running "nvm ls foo" should return a nonzero exit code when not found
Moving this nvm ls test inside the "listing versions" test subdir.
2014-07-14 12:36:28 -07:00
Running "nvm ls node" should return a nonzero exit code when not found
Ensure that `nvm ls node` doesn't return "node_modules", for example.
2014-08-01 01:24:28 -07:00
Running "nvm ls stable" and "nvm ls unstable" should return the appropriate implicit alias
Ensuring that there's a stable and unstable version "available" for this test.
2014-10-21 01:02:59 -07:00
Running "nvm ls system" should include "system" when appropriate
Removing unnecessary cleanup in "Listing Versions" tests.
2014-09-16 09:03:47 -07:00
Running "nvm ls" should display all installed versions.
Missed tests
2014-02-18 22:07:25 -08:00
Running "nvm ls" should filter out ".nvm"
Filter out of `nvm ls` things that start with a dot.
Fixes
#421
,
closes
#422
.
2014-05-20 10:36:12 -07:00
Running "nvm ls" should filter out "versions"
Put node versions >= 0.12 in `versions/node` instead of just `versions`
2015-01-14 12:23:06 -08:00
Running "nvm ls" should include "system" when appropriate
If `nvm_ls` is called without a pattern, and node exists, tack on "system".
2014-07-21 02:03:18 -07:00
Running "nvm ls" should list versions in the "versions" directory
Put node versions >= 0.12 in `versions/node` instead of just `versions`
2015-01-14 12:23:06 -08:00
Running "nvm ls" with node-like versioning vx.x.x should only list a matched version
Noting the changed behavior of `nvm ls vx.y.` to return something useful.
2014-09-16 09:03:48 -07:00
teardown
Clean up from some more tests
2014-10-22 18:15:21 -07:00