mirror of
https://github.com/zhigang1992/react-native-firebase.git
synced 2026-01-12 22:50:20 +08:00
[tests][helpers] update log override to exclude enablePersistence warning
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user