Files
Asaf Korem 3ebc32e225 test(fix, ios): use common register-early-crash method.
This resolves a flakiness in tests where the early-crash invoked
too early on iOS and a timeout is thrown instead of error being catch
using the same resolution from the Android test app
2023-09-28 09:49:34 +03:00

13 lines
311 B
JavaScript

import { LogBox, AppRegistry } from 'react-native';
import example from './src/app';
import registerEarlyCrashIfNeeded from './registerEarlyCrashIfNeeded';
class exampleIos extends example {}
registerEarlyCrashIfNeeded();
LogBox.ignoreAllLogs();
AppRegistry.registerComponent('example', () => exampleIos);