test/util/validate.test.js
Function validateTestSuite
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
describe('http-test/util/validate', function validateTestSuite() {
it('marks the test as "invalid" if a error is provided', function provideErrTest() {
var result = validate({ err: new Error() });
result.status.should.equal('invalid');