chai-jq.js
Function chaiJq
has 153 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var chaiJq = function (chai, utils) {
// ------------------------------------------------------------------------
// Variables
// ------------------------------------------------------------------------
var flag = utils.flag;
Function _containMethod
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var _containMethod = function (jqMeth, opts) {
// Unpack options.
opts = opts || /* istanbul ignore next */ {};
opts.hasArg = !!opts.hasArg;
opts.isProperty = !!opts.isProperty;