MrBoolean/http-test

View on GitHub
test/util/validate.test.js

Summary

Maintainability
A
1 hr
Test Coverage

Function validateTestSuite has 34 lines of code (exceeds 25 allowed). Consider refactoring.
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');
Severity: Minor
Found in test/util/validate.test.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status