Removed the Requirement to Install Python and NodeJS (Now Bundled with Borealis)
This commit is contained in:
15
Dependencies/NodeJS/node_modules/npm/lib/commands/install-test.js
generated
vendored
Normal file
15
Dependencies/NodeJS/node_modules/npm/lib/commands/install-test.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
const Install = require('./install.js')
|
||||
|
||||
// npm install-test
|
||||
// Runs `npm install` and then runs `npm test`
|
||||
class InstallTest extends Install {
|
||||
static description = 'Install package(s) and run tests'
|
||||
static name = 'install-test'
|
||||
|
||||
async exec (args) {
|
||||
await this.npm.exec('install', args)
|
||||
return this.npm.exec('test', [])
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = InstallTest
|
Reference in New Issue
Block a user