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