Quildreen Motta
730b253174
Updates tests for the new output messages
9 years ago
Jordan Harband
73aa35f508
[Tests] use `$NVM_DIR` instead of relative paths
9 years ago
Jordan Harband
6fb94e0dab
[fix] `nvm exec`: show “io.js” for io.js versions.
9 years ago
Jordan Harband
09f86b0e6e
[Refactor] Create and use `nvm_is_version_installed`
9 years ago
Luke Childs
5970a06b19
Add slow test to check nvm uninstall with file permission error
9 years ago
Luke Childs
6fb528f4e4
Add slow test to check nvm uninstall
9 years ago
Keiichiro Ui
b76d43e9f8
Fix `nvm-exec` for the commands includes white-spaces
9 years ago
Jordan Harband
cb033adc6f
nvm run: use common code path for "ensure version installed"
9 years ago
Jordan Harband
1458de7293
Ensure that if `npm config get prefix` is set to something outside `nvm`, that `nvm use` refuses to work.
...
Fixes #606 .
10 years ago
Alan Quach
657192dd27
Adding unit tests for --silent
10 years ago
Jordan Harband
7bce6c6c68
`nvm reinstall-packages` should install the same version it had before.
10 years ago
Jordan Harband
fe044c5e3b
`spawn-sync` now dedupes to the top level with this group of packages.
10 years ago
Jordan Harband
a4f89c6223
Make sure to ignore `~/.curlrc` if it exists.
10 years ago
HE Shi-Jun
3d69cf7437
update testcase
10 years ago
HE Shi-Jun
14b23bfa95
fix reinstall-packages test
10 years ago
Jordan Harband
be56ff3b2e
Make sure multiple `nvm run` arguments get passed through to node/iojs properly.
...
Fixes #641 .
10 years ago
Jordan Harband
0b4c1e14cf
Ensure that `nvm run 0.12 --version` errors out sensibly when 0.12 isn't installed.
10 years ago
Jordan Harband
a6819b3018
Fix `nvm ls v1.0.3` so that it locates `iojs-v1.0.3`.
...
Also fix `nvm uninstall v1.0.3` so it won't uninstall it if it's the current version.
node versions will still take priority if there's ever a version overlap.
10 years ago
Jordan Harband
39a75e616d
Add support for `nvm use node`, `nvm use iojs`, `nvm ls node`, and `nvm ls iojs`
...
Also add `nvm_version node` and `nvm_version iojs` support.
10 years ago
Jordan Harband
8ae7b33632
Improving failure messages on this test
10 years ago
Jordan Harband
eb8c3414dd
Move `nvm_get_latest` tests from "installation" to "slow"
10 years ago
Jordan Harband
78c1f2cf9d
Split up this `nvm current` and `node 0.6.21-pre` test into separate tests.
10 years ago
Jordan Harband
952096d034
Add iojs support to "install"
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
6c89e96f67
Ensure that we don't try to uninstall the current version of node in test teardowns.
10 years ago
Jordan Harband
ba08fa31d8
Moving actual installation tests to their own suite.
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
214ce8853b
`npm ls` has a bug in some versions when "--parseable --depth=0" is used together.
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
b8fe75e93a
Tests for `nvm copy-packages`
11 years ago
Jordan Harband
1fa2acf5a7
Adding nvm exec tests.
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
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
Jordan Harband
ba1be9b4ea
Making `nvm install` use the version, even if it's already installed. Fixes #410
11 years ago
Jordan Harband
c77be55cdc
Updating "nvm run" tests.
11 years ago
Jordan Harband
e195fccdb7
Escaping backticks
11 years ago
Jordan Harband
20953ab04c
Make sure `nvm run` works without a version argument when .nvmrc specifies a version.
11 years ago
Jordan Harband
4cf940153c
Use node 0.9 for these testsso that people aren't likely to have it installed
11 years ago
Jordan Harband
bf8abf1052
Make sure `nvm install` works without a version argument when .nvmrc specifies a version.
11 years ago
Jordan Harband
eb6031cb58
Clean up after existing `nvm install` tests.
11 years ago
Jordan Harband
55a6f1f06e
Organizing `nvm install` tests better.
11 years ago
Jordan Harband
b15ea07067
Don't clobber the latest version of 0.10 for tests.
11 years ago
messju mohr
e46ee7b30b
added test for using the latest of two versions
11 years ago
Fraser Tweedale
332ae1afcb
use a more portable release in install tests
...
The tests for nvm install currently install v0.8.6, which doesn't
build on FreeBSD due to Linuxisms. Switch to a more recent version
that does work.
11 years ago
Fraser Tweedale
9108a7f7fa
remove duplicate install test
...
`test/slow/install` is identical to `test/slow/install from source`
except in the version installed. Remove it.
11 years ago