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