Jordan Harband
|
e728577627
|
Rename `nvm copy-packages` to `nvm reinstall-packages`, and `--copy-packages-from` install option to `--reinstall-packages-from`
For #341. `nvm copy-packages` and install option `--copy-packages-from` will continue to be supported for for at least a full minor release version.
|
10 years ago |
Daniel Bretoi
|
8b25457b74
|
remove redundant lines from test file
|
10 years ago |
Daniel Bretoi
|
ee520abf78
|
adding some tests for nvm which
|
10 years ago |
Jordan Harband
|
2d529cc8b7
|
Prevent attempts to `nvm use` a circular reference.
|
10 years ago |
Jordan Harband
|
9b91734f0b
|
Show "∞" when there's a circular alias reference.
|
10 years ago |
Jordan Harband
|
0f5997f754
|
Clean up from some more tests
|
10 years ago |
Jordan Harband
|
7a339bdd3c
|
Adding nvm_resolve_alias
|
10 years ago |
Jordan Harband
|
08aa09e664
|
Prevent test pollution.
|
10 years ago |
Jordan Harband
|
8284cd0f81
|
Ensuring that there's a stable and unstable version "available" for this test.
|
10 years ago |
Jordan Harband
|
ca89cceb99
|
Default $NVM_SYMLINK_CURRENT to off (create a "current" symlink on `use`).
Fixes #499.
|
10 years ago |
Jordan Harband
|
d49443e1fb
|
Properly handle nvm_print_implicit_alias splitting in zsh.
Hopefully fixes #546.
|
10 years ago |
Jordan Harband
|
8f76b35370
|
Fix `nvm alias` tests to have both stable and unstable mocks.
|
10 years ago |
Jordan Harband
|
66b214651f
|
Add `nvm_alias` and unit tests.
|
11 years ago |
Jordan Harband
|
fda05fb64b
|
Remove trailing whitespace.
|
11 years ago |
Jordan Harband
|
5706aef3d0
|
nvm_format_version: add unit tests.
|
11 years ago |
Jordan Harband
|
4cdf356cdc
|
Support `nvm ls-remote stable` and `nvm ls-remote unstable`
|
11 years ago |
Jordan Harband
|
c918e570b6
|
Add support for `nvm ls stable` and `nvm ls unstable`
|
11 years ago |
Jordan Harband
|
5dc7af6285
|
Make `nvm alias` list implicit "stable" and "unstable" aliases when they're not already aliases.
|
11 years ago |
Jordan Harband
|
f9565ff675
|
Adding nvm_print_implicit_alias success tests
|
11 years ago |
Jordan Harband
|
cea0e88489
|
Adding nvm_print_implicit_alias error tests.
|
11 years ago |
Jordan Harband
|
fcdd1ef431
|
Add nvm_validate_implicit_alias
|
11 years ago |
Jordan Harband
|
cd4fc8fb2c
|
Adding unit tests for `nvm_ls_remote`
`nvm_download` is stubbed, to avoid making network calls.
|
11 years ago |
Jordan Harband
|
050a2ee9d3
|
nvm_remote_version: add unit tests
`nvm_ls_remote` is stubbed out to avoid making network calls here.
|
11 years ago |
Jordan Harband
|
be605cb12b
|
Adding a failing test: `nvm ls 0.0.x` includes `v0.0.xy`
|
11 years ago |
Jordan Harband
|
3c66c20570
|
Improving "nvm alias" tests to test for all cases.
|
11 years ago |
Jordan Harband
|
59bfdb9863
|
Making sure fast alias tests do their own teardown.
|
11 years ago |
Jordan Harband
|
622fdd2cd0
|
Error out early if the --copy-packages-from version is invalid.
|
11 years ago |
Jordan Harband
|
35466187f2
|
Noting the changed behavior of `nvm ls vx.y.` to return something useful.
|
11 years ago |
Jordan Harband
|
4b2bc0be08
|
Adding `nvm_num_version_groups`
|
11 years ago |
Jordan Harband
|
15b3e7b6a8
|
Removing unnecessary cleanup in "Listing Versions" tests.
|
11 years ago |
Jordan Harband
|
8d05ab63f1
|
Silencing error output in the "Listing Versions" teardown script.
|
11 years ago |
Jordan Harband
|
da693eaea1
|
Tweaking nvm_ls_current tests.
|
11 years ago |
Jordan Harband
|
97d4e2f88f
|
Unit tests: add `nvm_find_up`
|
11 years ago |
Jordan Harband
|
e0a22ccf4a
|
Unit tests: add `nvm_has`
|
11 years ago |
Jordan Harband
|
ad2713b13a
|
`&>` is a bash-specific extension for redirecting both stdout and stderr.
|
11 years ago |
Jordan Harband
|
a80f958a1e
|
All 4 of these test files should be executable.
|
11 years ago |
Jordan Harband
|
110e571c34
|
Make `nvm ls system` work.
|
11 years ago |
Kevin Wang
|
e8056ac460
|
Run cleanup on die in nvm_checksum unit test.
|
11 years ago |
Kevin Wang
|
429656bc41
|
Add unit tests for nvm_checksum.
|
11 years ago |
stelcheck
|
83a0efb085
|
* We print stats only on failure
* || true
|
11 years ago |
stelcheck
|
9306a9b3f0
|
* Unit tests
|
11 years ago |
Jordan Harband
|
5c7f08843d
|
Add error checking to nvm_tree_contains_path
|
11 years ago |
Jordan Harband
|
6e6c5c4e2a
|
Removing an invalid option to `touch` from this test.
|
11 years ago |
Jordan Harband
|
1c2c4788a2
|
Fixing nvm_version_greater tests.
Relates to #505, #506.
|
11 years ago |
Jordan Harband
|
b59ecb9e11
|
Make sure the new `versions` directory is filtered out of nvm_ls output (in zsh).
|
11 years ago |
Jordan Harband
|
70ac1e7fa4
|
Fix tests so that they fail in zsh (for #505)
|
11 years ago |
Jordan Harband
|
273f9d497a
|
Adding unit tests for nvm_ls_current. Relates to #487.
|
11 years ago |
Jordan Harband
|
5dd2d7e5d4
|
Make `nvm ls` support listing the "versions" directory when it's present.
|
11 years ago |
Jordan Harband
|
65c2435418
|
Making sure that versions are backed up when running tests.
|
11 years ago |
Jordan Harband
|
0a695c5d2a
|
Modify nvm_version_path to use nvm_version_greater.
|
11 years ago |