senecajs/seneca

View on GitHub
trial/plugin-init-error-multiple.js

Summary

Maintainability
A
40 mins
Test Coverage
require('..')()
  .use(function plugin0() {
    this.add('init:plugin0', function init0() {
      throw new Error('error0')
    })
  })
  .use(function plugin1() {
    this.add('init:plugin1', function init1() {
      throw new Error('error1')
    })
  })
  .use(function plugin2() {
    this.add('init:plugin2', function init2() {
      throw new Error('error2')
    })
  })