0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.129.71.13


Current Path : /proc/self/root/usr/share/npm/lib/
Upload File :
Current File : //proc/self/root/usr/share/npm/lib/install-test.js

'use strict'

// npm install-test
// Runs `npm install` and then runs `npm test`

module.exports = installTest
var install = require('./install.js')
var test = require('./test.js')

installTest.usage = '\nnpm install-test [args]' +
                    '\nSame args as `npm install`' +
                    '\n\nalias: npm it'

installTest.completion = install.completion

function installTest (args, cb) {
  install(args, function (er) {
    if (er) {
      return cb(er)
    }
    test([], cb)
  })
}