summaryrefslogtreecommitdiff
path: root/deps/npm/lib/test.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/test.js')
-rw-r--r--deps/npm/lib/test.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/deps/npm/lib/test.js b/deps/npm/lib/test.js
index cbc7582170..4ef025c4ba 100644
--- a/deps/npm/lib/test.js
+++ b/deps/npm/lib/test.js
@@ -1,6 +1,12 @@
module.exports = test
-var testCmd = require('./utils/lifecycle.js').cmd('test')
+const testCmd = require('./utils/lifecycle.js').cmd('test')
+const usage = require('./utils/usage')
+
+test.usage = usage(
+ 'test',
+ 'npm test [-- <args>]'
+)
function test (args, cb) {
testCmd(args, function (er) {