Fix snapshottests under iOS10
Reviewed By: dinhviethoa Differential Revision: D3722988 fbshipit-source-id: 4345b757e28700ac61e1de38b61430e78948e58a
|
After Width: | Height: | Size: 153 KiB |
|
After Width: | Height: | Size: 182 KiB |
|
Before Width: | Height: | Size: 67 KiB After Width: | Height: | Size: 182 KiB |
|
After Width: | Height: | Size: 147 KiB |
|
After Width: | Height: | Size: 78 KiB |
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 78 KiB |
|
After Width: | Height: | Size: 364 KiB |
|
After Width: | Height: | Size: 175 KiB |
@@ -33,6 +33,9 @@
|
||||
- (void)setUp
|
||||
{
|
||||
_runner = RCTInitRunnerForApp(@"Examples/UIExplorer/js/UIExplorerApp.ios", nil);
|
||||
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 10) {
|
||||
_runner.testSuffix = @"-iOS10";
|
||||
}
|
||||
_runner.recordMode = NO;
|
||||
}
|
||||
|
||||
@@ -46,8 +49,8 @@ RCT_TEST(ViewExample)
|
||||
RCT_TEST(LayoutExample)
|
||||
RCT_TEST(TextExample)
|
||||
RCT_TEST(SwitchExample)
|
||||
//RCT_TEST(SliderExample) // Disabled: #8985988
|
||||
//RCT_TEST(TabBarExample) // Disabled: #8985988
|
||||
RCT_TEST(SliderExample)
|
||||
RCT_TEST(TabBarExample)
|
||||
|
||||
- (void)testZZZNotInRecordMode
|
||||
{
|
||||
|
||||
@@ -7,3 +7,8 @@
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
var __fbBatchedBridge = {
|
||||
flushedQueue: function() {
|
||||
return null;
|
||||
}
|
||||
};
|
||||
|
||||