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:
Rick Hanlon
2020-02-18 06:19:46 -08:00
committed by Facebook Github Bot
parent 3c4c2f27aa
commit af710ab177
3 changed files with 5 additions and 7 deletions
@@ -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');