mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-03 22:48:25 +08:00
Add separate JSBunldeLoader for assets
Reviewed By: mhorowitz Differential Revision: D3735897 fbshipit-source-id: 990d45e9cb40a9afce1df8f8fd0b73c62e13158a
This commit is contained in:
committed by
Facebook Github Bot 8
parent
96de161304
commit
0c2fdf4b6a
@@ -73,7 +73,7 @@ public class ReactTestHelper {
|
||||
.setJSExecutor(executor)
|
||||
.setRegistry(mNativeModuleRegistryBuilder.build())
|
||||
.setJSModuleRegistry(mJSModuleRegistryBuilder.build())
|
||||
.setJSBundleLoader(JSBundleLoader.createFileLoader(
|
||||
.setJSBundleLoader(JSBundleLoader.createAssetLoader(
|
||||
mContext,
|
||||
"assets://AndroidTestBundle.js"))
|
||||
.setNativeModuleCallExceptionHandler(
|
||||
|
||||
Reference in New Issue
Block a user