2
0
mirror of synced 2025-01-24 21:30:16 +00:00

[tests][helpers] update log override to exclude enablePersistence warning

This commit is contained in:
Salakar 2018-04-16 18:05:31 +01:00
parent 4cd30baacb
commit 016c07fa35

View File

@ -40,7 +40,8 @@ console.log = (...args) => {
args &&
args[0] &&
typeof args[0] === 'string' &&
args[0].toLowerCase().includes('deprecated')
(args[0].toLowerCase().includes('deprecated') ||
args[0].toLowerCase().includes('restrictions in the native sdk'))
) {
return undefined;
}