2
0
mirror of synced 2025-01-23 12:50:05 +00:00

[tests] tweak deprecation logging exclusion logic

This commit is contained in:
Salakar 2018-04-11 00:15:16 +01:00
parent d78187569b
commit f28e39ee42

View File

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