Your IP : 3.15.3.17


Current Path : /opt/alt/alt-nodejs6/root/lib/node_modules/npm/lib/
Upload File :
Current File : //opt/alt/alt-nodejs6/root/lib/node_modules/npm/lib/test.js

module.exports = test

var testCmd = require('./utils/lifecycle.js').cmd('test')

function test (args, cb) {
  testCmd(args, function (er) {
    if (!er) return cb()
    if (er.code === 'ELIFECYCLE') {
      return cb('Test failed.  See above for more details.')
    }
    return cb(er)
  })
}

?>