Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-03-08 04:45:33 +0300
committerKat Marchán <kzm@sykosomatic.org>2017-03-10 03:08:24 +0300
commitc3b994b71565eb4f943cce890bb887d810e6e2d4 (patch)
tree3649bcb94effb32d98ab37ffb88ae5defaa92c9d /test
parent46aa9bcae088740df86234fc199f7aef53b116df (diff)
install: Use EXDEV aware move instead of rename (#15901)
This will allow moving across devices and moving when filesystems don't support renaming directories full of files. PR-URL: https://github.com/npm/npm/pull/15901 Credit: @iarna Reviewed-By: @zkat
Diffstat (limited to 'test')
-rw-r--r--test/tap/config-meta.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tap/config-meta.js b/test/tap/config-meta.js
index 3cd1bfa7d..168ab2a2e 100644
--- a/test/tap/config-meta.js
+++ b/test/tap/config-meta.js
@@ -106,7 +106,7 @@ test('check configs', function (t) {
}
for (var c2 in DOC) {
- if (c2 !== 'versions' && c2 !== 'version' && c2 !== 'init.version') {
+ if (c2 !== 'versions' && c2 !== 'version' && c2 !== 'init.version' && c2 !== 'ham-it-up') {
t.ok(CONFS[c2], 'config in doc should be used somewhere ' + c2)
t.ok(types.indexOf(c2) !== -1, 'should be defined in npmconf ' + c2)
t.ok(defaults.indexOf(c2) !== -1, 'should have default in npmconf ' + c2)
@@ -114,14 +114,14 @@ test('check configs', function (t) {
}
types.forEach(function (c) {
- if (!c.match(/^\_/) && c !== 'argv' && !c.match(/^versions?$/)) {
+ if (!c.match(/^\_/) && c !== 'argv' && !c.match(/^versions?$/) && c !== 'ham-it-up') {
t.ok(DOC[c], 'defined type should be documented ' + c)
t.ok(CONFS[c], 'defined type should be used ' + c)
}
})
defaults.forEach(function (c) {
- if (!c.match(/^\_/) && c !== 'argv' && !c.match(/^versions?$/)) {
+ if (!c.match(/^\_/) && c !== 'argv' && !c.match(/^versions?$/) && c !== 'ham-it-up') {
t.ok(DOC[c], 'defaulted type should be documented ' + c)
t.ok(CONFS[c], 'defaulted type should be used ' + c)
}