tests: do not print warnings to console

This commit is contained in:
Roman Hotsiy 2017-05-05 13:27:02 +03:00
parent ad04636073
commit df4bb0a17f
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0

View File

@ -55,7 +55,7 @@ function verifyNoBrowserErrors() {
if (message.match(/This site makes use of a SHA-1 Certificate/)) return false;
if (logEntry.level.value >= LogLevel.INFO) {
if (logEntry.level.value > LogLevel.WARNING) {
if (message.length > MAX_ERROR_MESSAGE_SYMBOLS) {
message = message.substr(0, MAX_ERROR_MESSAGE_SYMBOLS) + '...';
}