Jordan Harband
|
7807a9f09e
|
Consolidate "alias" directory to a method.
|
10 years ago |
Jordan Harband
|
3fa11c35cb
|
Add io.js support to `nvm_version_dir`
|
10 years ago |
Jordan Harband
|
c6489440dc
|
Add nvm_ls_current test for #605 and `zsh`.
|
10 years ago |
niris
|
a26007ec0d
|
fix test suit
|
10 years ago |
Jordan Harband
|
9a4e9060d8
|
Don't bother testing --install option on source, or supporting it, unless the shell supports passing options upon sourcing.
|
10 years ago |
Jordan Harband
|
3df0caefa5
|
Support `--install` option upon sourcing.
|
10 years ago |
Jordan Harband
|
274369dc40
|
Remove trailing whitespace
|
10 years ago |
Jordan Harband
|
25c61594fe
|
Tests for `nvm_get_latest`
|
10 years ago |
Jordan Harband
|
2d78d69d4c
|
Properly outputting the version when nvm_version_path outputs the new "versions" subdirectory.
|
10 years ago |
Daniel Bretoi
|
99ca0de18f
|
revert echoing path. make tests even better
|
10 years ago |
Jordan Harband
|
3bd148056e
|
Fixing deactivate tests.
Fixes #357.
|
10 years ago |
Daniel Bretoi
|
a1c0c34088
|
fix to proper echo of nvm which. Checkin test which had been left out
|
10 years ago |
Jordan Harband
|
383f39ab61
|
Global modules should not be requireable, and `npm root -g` should not be in `$NODE_PATH`.
Fixes #586.
|
10 years ago |
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 |
Jordan Harband
|
689c52c90d
|
Install nvm-exec as well when installing via script.
Fixes #553.
|
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 |
Xavier Cambar
|
516e553093
|
Refactors NVM_SOURCE
|
10 years ago |
Xavier Cambar
|
b9f15b0ab0
|
Tests for PROFILE detection
|
10 years ago |
Jordan Harband
|
d30c0fe146
|
Cleaning up install_script tests.
|
10 years ago |
Xavier Cambar
|
3cdec8e875
|
Testable install script
* wraps main code into a function
* EnvVar-based install start
* Clean environment after install
|
10 years ago |
Jordan Harband
|
cec1c38a84
|
Move sourcing tests to a separate test suite.
|
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
|
7b6e06e556
|
Add tests for "`nvm use default` on source" behavior.
|
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
|
6c89e96f67
|
Ensure that we don't try to uninstall the current version of node in test teardowns.
|
10 years ago |
Jordan Harband
|
1931f7f3f8
|
Remove '-e' option from installation tests, in favor of explicit failures.
|
11 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
|
486d14f5f8
|
Copy packages when applicable, whenever `nvm install` would normally `nvm use` and exit.
|
11 years ago |
Jordan Harband
|
622fdd2cd0
|
Error out early if the --copy-packages-from version is invalid.
|
11 years ago |