Removing console.logs
This commit is contained in:
Родитель
be32e4450f
Коммит
35469b1009
|
@ -40,7 +40,6 @@ var check = bluebird.method(function (website) {
|
|||
passed: passed,
|
||||
data: filtered
|
||||
};
|
||||
console.log(test.testName);
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -69,7 +69,6 @@ var check = bluebird.method(function (website) {
|
|||
passed: passed,
|
||||
data: []
|
||||
};
|
||||
console.log(test.testName);
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -152,7 +152,6 @@ var check = function (website) {
|
|||
comments: conditionalTest
|
||||
}
|
||||
};
|
||||
console.log(test.testName);
|
||||
|
||||
return test;
|
||||
})
|
||||
|
|
|
@ -51,7 +51,7 @@ var initiate = bluebird.method(function (website) {
|
|||
test.passed = false;
|
||||
test.data = {source: 'cvlist', mode: resultWebsite.docMode};
|
||||
}
|
||||
console.log(test.testName);
|
||||
|
||||
return test;
|
||||
});
|
||||
});
|
||||
|
|
|
@ -28,7 +28,7 @@ var check = bluebird.method(function (website) {
|
|||
compression: website.compression
|
||||
}
|
||||
};
|
||||
console.log(test.testName);
|
||||
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -319,7 +319,6 @@ var check = bluebird.method(function (website) {
|
|||
}
|
||||
});
|
||||
|
||||
console.log(test.testName);
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -43,7 +43,7 @@ var spaces = '[\\s\\r\\n]*',
|
|||
|
||||
var check = bluebird.method(function (website) {
|
||||
// Don't waste time looking through the whole doc; the doctype should be early
|
||||
var head = website.content.slice(0, 2000).trim().toLowerCase(),
|
||||
var head = website.content.slice(0, 2000).trim().toLowerCase(),
|
||||
dt = headRE.exec(head),
|
||||
test = {
|
||||
testName: 'doctype',
|
||||
|
@ -111,7 +111,7 @@ var check = bluebird.method(function (website) {
|
|||
}
|
||||
}
|
||||
}
|
||||
console.log(test.testName);
|
||||
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -122,11 +122,10 @@ var checkConfigFile = bluebird.method(function (website) {
|
|||
test.passed = true;
|
||||
test.data.notifications = true;
|
||||
}
|
||||
console.log(test.testName);
|
||||
|
||||
return test;
|
||||
})
|
||||
.catch(function () {
|
||||
console.log(test.testName + ' error');
|
||||
return test;
|
||||
});
|
||||
});
|
||||
|
|
|
@ -53,11 +53,9 @@ var check = function (website) {
|
|||
test.passed = true;
|
||||
}
|
||||
}
|
||||
console.log(test.testName);
|
||||
return test;
|
||||
})
|
||||
.catch(function () {
|
||||
console.log(test.testName + ' error');
|
||||
return test;
|
||||
});
|
||||
};
|
||||
|
|
|
@ -59,7 +59,7 @@ var check = bluebird.method(function (website) {
|
|||
testName: 'inputTypes',
|
||||
passed: passed
|
||||
};
|
||||
console.log(test.testName);
|
||||
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -327,7 +327,7 @@ var check = bluebird.method(function (website) {
|
|||
test.data.push(result.data);
|
||||
}
|
||||
}
|
||||
console.log(test.testName);
|
||||
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -31,7 +31,7 @@ var check = bluebird.method(function (website) {
|
|||
if (next.length > 0 || prev.length > 0) {
|
||||
test.passed = true;
|
||||
}
|
||||
console.log(test.testName);
|
||||
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -98,7 +98,6 @@ var initiate = function (website) {
|
|||
}
|
||||
}
|
||||
|
||||
console.log(test.testName);
|
||||
return test;
|
||||
});
|
||||
};
|
||||
|
|
|
@ -48,7 +48,7 @@ var check = bluebird.method(function (website) {
|
|||
test.passed = true;
|
||||
test.data.prerender = true;
|
||||
}
|
||||
console.log(test.testName);
|
||||
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -197,7 +197,6 @@ var check = bluebird.method(function (website) {
|
|||
test.data.spectrum = analyzeBreakPoints(test.data.minBreakPoints, test.data.maxBreakPoints);
|
||||
}
|
||||
|
||||
console.log(test.testName);
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ var check = bluebird.method(function (website) {
|
|||
}
|
||||
}
|
||||
}
|
||||
console.log(test.testName);
|
||||
|
||||
return test;
|
||||
});
|
||||
|
||||
|
|
|
@ -59,13 +59,11 @@ var check = function (website) {
|
|||
test.passed = false;
|
||||
test.data = ['Remote error'];
|
||||
} finally {
|
||||
console.log(test.testName);
|
||||
return test;
|
||||
}
|
||||
})
|
||||
.catch(function () {
|
||||
website.data = ['Error'];
|
||||
console.log(test.testName + ' error');
|
||||
return website;
|
||||
});
|
||||
};
|
||||
|
|
Загрузка…
Ссылка в новой задаче