2
0
mirror of synced 2025-01-23 04:39:49 +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[0] &&
typeof args[0] === 'string' &&
args[0].includes('Deprecated ')
args[0].toLowerCase().includes('deprecated')
) {
return undefined;
}