system: Linux mars.sprixweb.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
| Direktori : /lib/node_modules/npm/lib/commands/ |
| Current File : //lib/node_modules/npm/lib/commands/install-test.js |
// npm install-test
// Runs `npm install` and then runs `npm test`
const Install = require('./install.js')
class InstallTest extends Install {
static description = 'Install package(s) and run tests'
static name = 'install-test'
async exec (args, cb) {
await this.npm.exec('install', args)
return this.npm.exec('test', [])
}
}
module.exports = InstallTest