1// npm install-test
2// Runs `npm install` and then runs `npm test`
3
4const Install = require('./install.js')
5
6class InstallTest extends Install {
7  static description = 'Install package(s) and run tests'
8  static name = 'install-test'
9
10  async exec (args) {
11    await this.npm.exec('install', args)
12    return this.npm.exec('test', [])
13  }
14}
15module.exports = InstallTest
16