silverbucket/teste

View on GitHub
lib/tools/Throws.js

Summary

Maintainability
A
1 hr
Test Coverage

Function run has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  Throws.prototype.run = function (func, expected, message) {
    if (typeof func !== 'function') {
      throw new Error('throws takes at least one parameter, a function to run.');
    }

Severity: Minor
Found in lib/tools/Throws.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status