@@ -98,7 +98,7 @@ - (void)testBundleURL
98
98
{
99
99
RCTBundleURLProvider *settings = [RCTBundleURLProvider sharedSettings ];
100
100
settings.jsLocation = nil ;
101
- NSURL *URL = [settings jsBundleURLForBundleRoot: testFile fallbackResource: nil ];
101
+ NSURL *URL = [settings jsBundleURLForBundleRoot: testFile];
102
102
if (!getenv (" CI_USE_PACKAGER" )) {
103
103
XCTAssertEqualObjects (URL, mainBundleURL ());
104
104
} else {
@@ -112,7 +112,7 @@ - (void)testLocalhostURL
112
112
[[[classMock stub ] andReturnValue: @YES ] isPackagerRunning: [OCMArg any ] scheme: [OCMArg any ]];
113
113
RCTBundleURLProvider *settings = [RCTBundleURLProvider sharedSettings ];
114
114
settings.jsLocation = @" localhost" ;
115
- NSURL *URL = [settings jsBundleURLForBundleRoot: testFile fallbackResource: nil ];
115
+ NSURL *URL = [settings jsBundleURLForBundleRoot: testFile];
116
116
XCTAssertEqualObjects (URL, localhostBundleURL ());
117
117
}
118
118
@@ -122,7 +122,7 @@ - (void)testIPURL
122
122
[[[classMock stub ] andReturnValue: @YES ] isPackagerRunning: [OCMArg any ] scheme: [OCMArg any ]];
123
123
RCTBundleURLProvider *settings = [RCTBundleURLProvider sharedSettings ];
124
124
settings.jsLocation = @" 192.168.1.1" ;
125
- NSURL *URL = [settings jsBundleURLForBundleRoot: testFile fallbackResource: nil ];
125
+ NSURL *URL = [settings jsBundleURLForBundleRoot: testFile];
126
126
XCTAssertEqualObjects (URL, ipBundleURL ());
127
127
}
128
128
0 commit comments