@@ -98,7 +98,7 @@ - (void)testBundleURL
9898{
9999 RCTBundleURLProvider *settings = [RCTBundleURLProvider sharedSettings ];
100100 settings.jsLocation = nil ;
101- NSURL *URL = [settings jsBundleURLForBundleRoot: testFile fallbackResource: nil ];
101+ NSURL *URL = [settings jsBundleURLForBundleRoot: testFile];
102102 if (!getenv (" CI_USE_PACKAGER" )) {
103103 XCTAssertEqualObjects (URL , mainBundleURL ());
104104 } else {
@@ -112,7 +112,7 @@ - (void)testLocalhostURL
112112 [[[classMock stub ] andReturnValue: @YES ] isPackagerRunning: [OCMArg any ] scheme: [OCMArg any ]];
113113 RCTBundleURLProvider *settings = [RCTBundleURLProvider sharedSettings ];
114114 settings.jsLocation = @" localhost" ;
115- NSURL *URL = [settings jsBundleURLForBundleRoot: testFile fallbackResource: nil ];
115+ NSURL *URL = [settings jsBundleURLForBundleRoot: testFile];
116116 XCTAssertEqualObjects (URL , localhostBundleURL ());
117117}
118118
@@ -122,7 +122,7 @@ - (void)testIPURL
122122 [[[classMock stub ] andReturnValue: @YES ] isPackagerRunning: [OCMArg any ] scheme: [OCMArg any ]];
123123 RCTBundleURLProvider *settings = [RCTBundleURLProvider sharedSettings ];
124124 settings.jsLocation = @" 192.168.1.1" ;
125- NSURL *URL = [settings jsBundleURLForBundleRoot: testFile fallbackResource: nil ];
125+ NSURL *URL = [settings jsBundleURLForBundleRoot: testFile];
126126 XCTAssertEqualObjects (URL , ipBundleURL ());
127127}
128128
0 commit comments