Fix RNTester tests

Reviewed By: fkgozali

Differential Revision: D5881825

fbshipit-source-id: 38debe598830c4cc969b5251cfdfd8941ac36e9d
This commit is contained in:
Mehdi Mulani 2017-09-21 12:27:37 -07:00 committed by Facebook Github Bot
parent 70558b9e70
commit 6ce69dc925
9 changed files with 3 additions and 1 deletions

View File

@ -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;

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 152 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 144 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 78 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 174 KiB