Skip to content

Commit f3cb84b

Browse files
grawlinsonzkat
authored andcommittedMay 31, 2017
docs: update cli usage for test command (#16771)
Fixes: #16748 PR-URL: npm/npm#16771 Credit: @grawlinson Reviewed-By: @zkat
1 parent acbe85b commit f3cb84b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed
 

‎lib/test.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
module.exports = test
22

3-
var testCmd = require('./utils/lifecycle.js').cmd('test')
3+
const testCmd = require('./utils/lifecycle.js').cmd('test')
4+
const usage = require('./utils/usage')
5+
6+
test.usage = usage(
7+
'test',
8+
'npm test [-- <args>]'
9+
)
410

511
function test (args, cb) {
612
testCmd(args, function (er) {

0 commit comments

Comments
 (0)
Please sign in to comment.