Hacked By AnonymousFox

Current Path : /proc/thread-self/root/proc/self/root/opt/alt/alt-nodejs9/root/usr/lib/node_modules/npm/lib/
Upload File :
Current File : //proc/thread-self/root/proc/self/root/opt/alt/alt-nodejs9/root/usr/lib/node_modules/npm/lib/test.js

module.exports = test

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

test.usage = testCmd.usage

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)
  })
}

Hacked By AnonymousFox1.0, Coded By AnonymousFox