Showing 2 of 2 total issues
Function minibaseTests
has 183 lines of code (exceeds 25 allowed). Consider refactoring. Open
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)
}
Function runTests
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Runner.prototype.runTests = function runTests (show) {
var titles = []
return each.serial(this._tests, {
settle: true,
flat: false,