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
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/commands/deprecate.js')
-rw-r--r--test/lib/commands/deprecate.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/commands/deprecate.js b/test/lib/commands/deprecate.js
index 8a925fc2a..3a610a703 100644
--- a/test/lib/commands/deprecate.js
+++ b/test/lib/commands/deprecate.js
@@ -44,7 +44,7 @@ t.test('completion', async t => {
registry.whoami({ statusCode: 404, body: {} })
- t.rejects(testComp([], []), { code: 'ENEEDAUTH' })
+ t.rejects(testComp([], []), { code: 'EINVALIDTYPE' })
})
t.test('no args', async t => {