Jordan Harband
|
354be52672
|
Correct installation test paths
|
11 years ago |
Jordan Harband
|
ba08fa31d8
|
Moving actual installation tests to their own suite.
|
11 years ago |
Jordan Harband
|
ad2713b13a
|
`&>` is a bash-specific extension for redirecting both stdout and stderr.
|
11 years ago |
Jordan Harband
|
243fc04164
|
Fixing these test files that have never been run
|
11 years ago |
Jordan Harband
|
a80f958a1e
|
All 4 of these test files should be executable.
|
11 years ago |
Jordan Harband
|
ff1781b95d
|
Make `nvm copy-packages` refuse to copy packages from the currently activated version.
|
11 years ago |
Jordan Harband
|
110e571c34
|
Make `nvm ls system` work.
|
11 years ago |
Jordan Harband
|
214ce8853b
|
`npm ls` has a bug in some versions when "--parseable --depth=0" is used together.
|
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
|
5048a78376
|
Add special handling for node v0.6.21-pre
|
11 years ago |
Jordan Harband
|
4b3d6f1760
|
Properly pass a space-separated list of packages to `npm install`
Fixes #490.
|
11 years ago |
Jordan Harband
|
56c40cfa3c
|
Don't try to copy `npm` itself with `nvm copy-packages`.
Fixes #504.
|
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 |
Jordan Harband
|
8fe677a644
|
Add `nvm_version_greater`
|
11 years ago |
Jordan Harband
|
986abbf5db
|
Create nvm_version_path
|
11 years ago |
Jordan Harband
|
a2da9abd6d
|
Use nvm_version_dir in nvm_version_path
|
11 years ago |
Jordan Harband
|
9068dda110
|
Adding `nvm_version_dir`
|
11 years ago |
Jordan Harband
|
b8fe75e93a
|
Tests for `nvm copy-packages`
|
11 years ago |
Jordan Harband
|
1fa2acf5a7
|
Adding nvm exec tests.
|
11 years ago |
Jordan Harband
|
6dc602b521
|
Ensure that `nvm ls node` doesn't return "node_modules", for example.
|
11 years ago |
Jordan Harband
|
e7ada80d08
|
`nvm use system` should work as expected.
|
11 years ago |
Jordan Harband
|
9912f7cc46
|
If nvm is deactivated, display "none" or "system" instead of the system node version
|
11 years ago |
Jordan Harband
|
6e02e5a54c
|
If `nvm_ls` is called without a pattern, and node exists, tack on "system".
|
11 years ago |
Jordan Harband
|
1c50c5c7aa
|
Add nvm_tree_contains_path function
|
11 years ago |
Jordan Harband
|
4512337c11
|
Adding a slow `nvm current` test, since it needs an installed version of node.
|
11 years ago |
Jordan Harband
|
8a29122d0a
|
Adding `teardown` to `test/fast/Listing versions/`
|
11 years ago |
Jordan Harband
|
6d2912a2ab
|
Adding nvm_has_system_node
|
11 years ago |
Jordan Harband
|
1d61584402
|
Making sure this test cleans up after itself.
|
11 years ago |
Jordan Harband
|
f6974744cd
|
Moving this nvm ls test inside the "listing versions" test subdir.
|
11 years ago |
jsdevel
|
3fa004293c
|
Adding a symlink in .nvm to the current version.
|
11 years ago |
Jordan Harband
|
802f064178
|
Adding a failing test.
|
11 years ago |
Jordan Harband
|
8349f0ff48
|
Make sure `nvm ls foo` returns a nonzero exit code when a version is not found.
Fixes #440.
|
11 years ago |
Jordan Harband
|
bb01513eba
|
Making sure there's test coverage for `nvm i`
|
11 years ago |
Koen Punt
|
a318ddf9b3
|
redirect stderr to stdout in test
|
11 years ago |
Andrew Crites
|
1b22c2e2b1
|
Including test for specific version listing
This fixes the issue of nvm ls v[:digit:].[:digit:].[:digit:] listing the version even if it isn't available
|
11 years ago |
Jordan Harband
|
085e314a3f
|
Adding a trailing newline
|
11 years ago |
Jordan Harband
|
578a601b27
|
Filter out of `nvm ls` things that start with a dot. Fixes #421, closes #422.
|
11 years ago |
Koen Punt
|
2e3e48cc06
|
Use correct variables
|
11 years ago |
Koen Punt
|
f6ba08253b
|
utility method for append path, fixes #414
|
11 years ago |