tslint-jasmine-rules
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -69,5 +69,4 @@ "use strict"; | ||
ExpectLengthWalker.prototype.isLengthExpectedFor = function (callee) { | ||
var found = false; | ||
this.usages.forEach(function (value) { | ||
found = value.uses.some(function (use) { | ||
return Array.from(this.usages.values()).some(function (value) { | ||
return value.uses.some(function (use) { | ||
var usage = use.location.parent.parent.getText(); | ||
@@ -79,5 +78,4 @@ if (usage === "expect(" + callee.getText() + ".length)") { | ||
}); | ||
return found; | ||
}; | ||
return ExpectLengthWalker; | ||
}(Lint.AbstractWalker)); |
{ | ||
"name": "tslint-jasmine-rules", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "tslint rules for jasmine", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
9724
164