diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/test.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/test.js b/lib/test.js index cbc758217..4ef025c4b 100644 --- a/lib/test.js +++ b/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) { |