mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-09 09:30:10 +08:00
Move bridge dependencies into a single ReactTestFactory
Reviewed By: cjhopman Differential Revision: D2816291 fb-gh-sync-id: 0eb654541cac7816922d948cc38a26fab44fad70
This commit is contained in:
committed by
facebook-github-bot-6
parent
b9ceecb31f
commit
5e82094fcb
@@ -132,7 +132,8 @@ public class ReactAppTestActivity extends FragmentActivity implements
|
||||
final CountDownLatch currentLayoutEvent = mLayoutEvent = new CountDownLatch(1);
|
||||
mBridgeIdleSignaler = new ReactBridgeIdleSignaler();
|
||||
|
||||
ReactInstanceManager.Builder builder = ReactInstanceManager.builder()
|
||||
ReactInstanceManager.Builder builder =
|
||||
ReactTestHelper.getReactTestFactory().getReactInstanceManagerBuilder()
|
||||
.setApplication(getApplication())
|
||||
.setBundleAssetName(bundleName)
|
||||
// By not setting a JS module name, we force the bundle to be always loaded from
|
||||
|
||||
Reference in New Issue
Block a user