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/adduser.js')
-rw-r--r--test/lib/adduser.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lib/adduser.js b/test/lib/adduser.js
index 106cd429e..d9106e1bd 100644
--- a/test/lib/adduser.js
+++ b/test/lib/adduser.js
@@ -78,6 +78,10 @@ const AddUser = requireInject('../../lib/adduser.js', {
const adduser = new AddUser(npm)
+test('usage', (t) => {
+ t.match(adduser.usage, 'adduser', 'usage has command name in it')
+ t.end()
+})
test('simple login', (t) => {
adduser.exec([], (err) => {
t.ifError(err, 'npm adduser')