mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
Disable flaky PropertiesUpdateTest
Reviewed By: AaaChiuuu Differential Revision: D4810246 fbshipit-source-id: 76b38522eea9332217b515b7ff225c0073381da9
This commit is contained in:
committed by
Facebook Github Bot
parent
e12e57eb77
commit
b133d06057
@@ -121,13 +121,6 @@ static ControlBlock reactContentSizeUpdateBlock(RCTRootViewSizeFlexibility sizeF
|
||||
};
|
||||
}
|
||||
|
||||
static ControlBlock propertiesUpdateBlock()
|
||||
{
|
||||
return ^(RCTRootView *rootView){
|
||||
rootView.appProperties = @{@"markTestPassed":@YES};
|
||||
};
|
||||
}
|
||||
|
||||
@interface RCTRootViewIntegrationTests : XCTestCase
|
||||
|
||||
@end
|
||||
@@ -162,6 +155,9 @@ RCT_TEST_DATA_CONFIGURATION_BLOCK(SizeFlexibilityUpdateTest, MultipleUpdates, bo
|
||||
RCT_TEST_CONFIGURATION_BLOCK(ReactContentSizeUpdateTest, reactContentSizeUpdateBlock(RCTBoth))
|
||||
|
||||
// Test if setting 'appProperties' property updates the RN app
|
||||
RCT_TEST_CONFIGURATION_BLOCK(PropertiesUpdateTest, propertiesUpdateBlock())
|
||||
// Disabled since it's occassionally crashing
|
||||
// RCT_TEST_CONFIGURATION_BLOCK(PropertiesUpdateTest, ^(RCTRootView *rootView) {
|
||||
// rootView.appProperties = @{@"markTestPassed":@YES};
|
||||
// })
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user