Skip to content

Commit

Permalink
tests: do not print warnings to console
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed May 5, 2017
1 parent ad04636 commit df4bb0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) + '...';
}
Expand Down

0 comments on commit df4bb0a

Please sign in to comment.