mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-05 09:29:07 +08:00
Fix optimized bundle stuff.
Reviewed By: davidaurelio, tadeuzagallo Differential Revision: D3563710 fbshipit-source-id: 2b0a982d388ee5f44b806f8e561ef49a3fd8c8ca
This commit is contained in:
committed by
Facebook Github Bot 7
parent
0c0ac6e21c
commit
3c0f428f05
@@ -102,9 +102,10 @@ public class UnpackingJSBundleLoaderTest {
|
||||
@Test
|
||||
public void testCallsAppropriateInstanceMethod() throws IOException {
|
||||
mBuilder.build().loadScript(mCatalystInstanceImpl);
|
||||
verify(mCatalystInstanceImpl).loadScriptFromFile(
|
||||
eq(new File(mDestinationPath, "bundle.js").getPath()),
|
||||
eq(URL));
|
||||
verify(mCatalystInstanceImpl).loadScriptFromOptimizedBundle(
|
||||
eq(mDestinationPath.getPath()),
|
||||
eq(URL),
|
||||
eq(UnpackingJSBundleLoader.UNPACKED_JS_SOURCE));
|
||||
verifyNoMoreInteractions(mCatalystInstanceImpl);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user