mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Switch from YellowBox.ignoreWarnings to LogBox.ignoreLogs
Summary: Migrates internal calls from ignoreWarnings to ignoreLogs so we can remove YellowBox. Changelog: [Internal] Reviewed By: TheSavior Differential Revision: D19813781 fbshipit-source-id: 16c7b3f2cd38cba1901eccb4d5b9a2396a37ba1b
This commit is contained in:
committed by
Facebook Github Bot
parent
3c4c2f27aa
commit
af710ab177
@@ -10,7 +10,7 @@
|
||||
'use strict';
|
||||
|
||||
// Disable LogBox so we do not have to mock its dependencies.
|
||||
require('react-native/Libraries/LogBox/LogBox').ignoreAllLogs(true);
|
||||
require('react-native').LogBox.ignoreAllLogs(true);
|
||||
|
||||
// Include callable JS modules first, in case one of the other ones below throws
|
||||
require('./ProgressBarTestModule');
|
||||
|
||||
Reference in New Issue
Block a user