mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-24 04:16:00 +08:00
rename UIExplorerUnitTests/TestBundle to UIExplorerUnitTests/UIExplorerUnitTestsBundle
Reviewed By: cpojer Differential Revision: D4612650 fbshipit-source-id: 395f540cb33594fc72bfd0177d49fd602a4ce3ca
This commit is contained in:
committed by
Facebook Github Bot
parent
a23a3c319c
commit
fac21168f6
@@ -161,7 +161,7 @@ RCT_EXPORT_MODULE(TestModule)
|
||||
|
||||
_unregisteredTestModule = [UnregisteredTestModule new];
|
||||
NSBundle *bundle = [NSBundle bundleForClass:[self class]];
|
||||
_bridge = [[RCTBridge alloc] initWithBundleURL:[bundle URLForResource:@"TestBundle" withExtension:@"js"]
|
||||
_bridge = [[RCTBridge alloc] initWithBundleURL:[bundle URLForResource:@"UIExplorerUnitTestsBundle" withExtension:@"js"]
|
||||
moduleProvider:^{ return @[self, self->_unregisteredTestModule]; }
|
||||
launchOptions:nil];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user