[tests] tweak deprecation logging exclusion logic
This commit is contained in:
parent
d78187569b
commit
f28e39ee42
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user