FormidableLabs/chai-jq

View on GitHub

Showing 2 of 2 total issues

Function chaiJq has 153 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  var chaiJq = function (chai, utils) {
    // ------------------------------------------------------------------------
    // Variables
    // ------------------------------------------------------------------------
    var flag = utils.flag;
Severity: Major
Found in chai-jq.js - About 6 hrs to fix

    Function _containMethod has 38 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        var _containMethod = function (jqMeth, opts) {
          // Unpack options.
          opts = opts || /* istanbul ignore next */ {};
          opts.hasArg = !!opts.hasArg;
          opts.isProperty = !!opts.isProperty;
    Severity: Minor
    Found in chai-jq.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language