test.js 568 B

1234567891011121314151617181920212223
  1. const LifecycleCmd = require('./utils/lifecycle-cmd.js')
  2. // This ends up calling run-script(['test', ...args])
  3. class Test extends LifecycleCmd {
  4. /* istanbul ignore next - see test/lib/load-all-commands.js */
  5. static get description () {
  6. return 'Test a package'
  7. }
  8. /* istanbul ignore next - see test/lib/load-all-commands.js */
  9. static get name () {
  10. return 'test'
  11. }
  12. /* istanbul ignore next - see test/lib/load-all-commands.js */
  13. static get params () {
  14. return [
  15. 'ignore-scripts',
  16. 'script-shell',
  17. ]
  18. }
  19. }
  20. module.exports = Test