node-minibase/minibase-tests

View on GitHub

Showing 2 of 2 total issues

Function minibaseTests has 183 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function minibaseTests (App, opts) {
  if (typeof App !== 'function') {
    var err = new TypeError('minibase-tests: expect `App` to be constructor')
    return Bluebird.reject(err)
  }
Severity: Major
Found in index.js - About 7 hrs to fix

    Function runTests has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    Runner.prototype.runTests = function runTests (show) {
      var titles = []
      return each.serial(this._tests, {
        settle: true,
        flat: false,
    Severity: Minor
    Found in runner.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language