[tests] tweak deprecation logging exclusion logic

This commit is contained in:
Salakar 2018-04-11 00:15:16 +01:00
parent d78187569b
commit f28e39ee42
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ console.log = (...args) => {
args &&
args[0] &&
typeof args[0] === 'string' &&
args[0].includes('Deprecated ')
args[0].toLowerCase().includes('deprecated')
) {
return undefined;
}