Fix RNTester tests
Reviewed By: fkgozali Differential Revision: D5881825 fbshipit-source-id: 38debe598830c4cc969b5251cfdfd8941ac36e9d
@ -25,7 +25,9 @@
|
|||||||
- (void)setUp
|
- (void)setUp
|
||||||
{
|
{
|
||||||
_runner = RCTInitRunnerForApp(@"RNTester/js/RNTesterApp.ios", nil);
|
_runner = RCTInitRunnerForApp(@"RNTester/js/RNTesterApp.ios", nil);
|
||||||
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 10) {
|
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 11) {
|
||||||
|
_runner.testSuffix = @"-iOS11";
|
||||||
|
} else if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 10) {
|
||||||
_runner.testSuffix = @"-iOS10";
|
_runner.testSuffix = @"-iOS10";
|
||||||
}
|
}
|
||||||
_runner.recordMode = NO;
|
_runner.recordMode = NO;
|
||||||
|
After Width: | Height: | Size: 73 KiB |
After Width: | Height: | Size: 152 KiB |
After Width: | Height: | Size: 147 KiB |
After Width: | Height: | Size: 165 KiB |
After Width: | Height: | Size: 144 KiB |
After Width: | Height: | Size: 78 KiB |
After Width: | Height: | Size: 365 KiB |
After Width: | Height: | Size: 174 KiB |