Linting fixes

This commit is contained in:
Elliot Nelson
2019-06-20 07:34:31 -04:00
parent 45475f6d1e
commit 65e6df55ee
2 changed files with 9 additions and 3 deletions

View File

@@ -21,7 +21,9 @@ getJasmineRequireObj().SpyFactory = function(j$) {
var methods = normalizeKeyValues(methodNames);
for (var i = 0; i < methods.length; i++) {
spy = obj[methods[i][0]] = self.createSpy(baseName + '.' + methods[i][0]);
spy = obj[methods[i][0]] = self.createSpy(
baseName + '.' + methods[i][0]
);
if (methods[i].length > 1) {
spy.and.returnValue(methods[i][1]);
}