Update Jest snapshots

Summary:
Jest will now exclude undefined props from snapshots (https://github.com/facebook/jest/pull/6162). Updating the snapshots should fix the current `test_javascript` failures.

Circle CI

[INTERNAL][MINOR][Snapshots] - Update snapshots
Closes https://github.com/facebook/react-native/pull/19414

Differential Revision: D8125193

Pulled By: hramos

fbshipit-source-id: db8dcfcd8afbf9d6256f83c6e922680a7872d776
This commit is contained in:
Héctor Ramos 2018-05-29 17:13:32 -07:00 committed by Facebook Github Bot
parent c39b8041d1
commit 95554add98
4 changed files with 0 additions and 53 deletions

View File

@ -2,15 +2,8 @@
exports[`TouchableHighlight renders correctly 1`] = `
<View
accessibilityComponentType={undefined}
accessibilityLabel={undefined}
accessibilityTraits={undefined}
accessible={true}
hasTVPreferredFocus={undefined}
hitSlop={undefined}
isTVSelectable={true}
nativeID={undefined}
onLayout={undefined}
onResponderGrant={[Function]}
onResponderMove={[Function]}
onResponderRelease={[Function]}
@ -18,8 +11,6 @@ exports[`TouchableHighlight renders correctly 1`] = `
onResponderTerminationRequest={[Function]}
onStartShouldSetResponder={[Function]}
style={Object {}}
testID={undefined}
tvParallaxProperties={undefined}
>
<Text
style={null}

View File

@ -31,7 +31,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
getItemLayout={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
numColumns={2}
@ -46,7 +45,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
refreshControl={
<RefreshControlMock
onRefresh={[MockFunction]}
progressViewOffset={undefined}
refreshing={false}
/>
}
@ -67,7 +65,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
<header />
</View>
<View
onLayout={undefined}
style={null}
>
<View
@ -87,7 +84,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
<separator />
</View>
<View
onLayout={undefined}
style={null}
>
<View
@ -107,7 +103,6 @@ exports[`FlatList renders all the bells and whistles 1`] = `
<separator />
</View>
<View
onLayout={undefined}
style={null}
>
<View
@ -140,7 +135,6 @@ exports[`FlatList renders empty list 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
numColumns={1}
@ -164,13 +158,11 @@ exports[`FlatList renders empty list 1`] = `
exports[`FlatList renders null list 1`] = `
<RCTScrollView
data={undefined}
disableVirtualization={false}
getItem={[Function]}
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
numColumns={1}
@ -212,7 +204,6 @@ exports[`FlatList renders simple list 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
numColumns={1}

View File

@ -2,7 +2,6 @@
exports[`SectionList rendering empty section headers is fine 1`] = `
<RCTScrollView
ItemSeparatorComponent={undefined}
data={
Array [
Object {
@ -23,7 +22,6 @@ exports[`SectionList rendering empty section headers is fine 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -33,7 +31,6 @@ exports[`SectionList rendering empty section headers is fine 1`] = `
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
renderItem={[Function]}
renderSectionHeader={[Function]}
scrollEventThrottle={50}
@ -92,7 +89,6 @@ exports[`SectionList rendering empty section headers is fine 1`] = `
exports[`SectionList renders a footer when there is no data 1`] = `
<RCTScrollView
ItemSeparatorComponent={undefined}
data={
Array [
Object {
@ -106,7 +102,6 @@ exports[`SectionList renders a footer when there is no data 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -116,7 +111,6 @@ exports[`SectionList renders a footer when there is no data 1`] = `
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
renderItem={[Function]}
renderSectionFooter={[Function]}
renderSectionHeader={[Function]}
@ -161,7 +155,6 @@ exports[`SectionList renders a footer when there is no data 1`] = `
exports[`SectionList renders a footer when there is no data and no header 1`] = `
<RCTScrollView
ItemSeparatorComponent={undefined}
data={
Array [
Object {
@ -175,7 +168,6 @@ exports[`SectionList renders a footer when there is no data and no header 1`] =
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -185,7 +177,6 @@ exports[`SectionList renders a footer when there is no data and no header 1`] =
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
renderItem={[Function]}
renderSectionFooter={[Function]}
scrollEventThrottle={50}
@ -225,7 +216,6 @@ exports[`SectionList renders a footer when there is no data and no header 1`] =
exports[`SectionList renders all the bells and whistles 1`] = `
<RCTScrollView
ItemSeparatorComponent={undefined}
ListEmptyComponent={[Function]}
ListFooterComponent={[Function]}
ListHeaderComponent={[Function]}
@ -275,7 +265,6 @@ exports[`SectionList renders all the bells and whistles 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={Infinity}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -286,11 +275,9 @@ exports[`SectionList renders all the bells and whistles 1`] = `
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
refreshControl={
<RefreshControlMock
onRefresh={[MockFunction]}
progressViewOffset={undefined}
refreshing={false}
/>
}
@ -509,14 +496,12 @@ exports[`SectionList renders all the bells and whistles 1`] = `
exports[`SectionList renders empty list 1`] = `
<RCTScrollView
ItemSeparatorComponent={undefined}
data={Array []}
disableVirtualization={false}
getItem={[Function]}
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -526,7 +511,6 @@ exports[`SectionList renders empty list 1`] = `
onScroll={[Function]}
onScrollBeginDrag={[Function]}
onScrollEndDrag={[Function]}
onViewableItemsChanged={undefined}
renderItem={[Function]}
scrollEventThrottle={50}
sections={Array []}

View File

@ -17,7 +17,6 @@ exports[`VirtualizedList handles nested lists 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -54,7 +53,6 @@ exports[`VirtualizedList handles nested lists 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -108,7 +106,6 @@ exports[`VirtualizedList handles nested lists 1`] = `
getItemCount={[Function]}
horizontal={true}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -183,7 +180,6 @@ exports[`VirtualizedList handles separators correctly 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -265,7 +261,6 @@ exports[`VirtualizedList handles separators correctly 2`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -347,7 +342,6 @@ exports[`VirtualizedList handles separators correctly 3`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -455,7 +449,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
refreshControl={
<RefreshControlMock
onRefresh={[MockFunction]}
progressViewOffset={undefined}
refreshing={false}
/>
}
@ -495,7 +488,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
<header />
</View>
<View
onLayout={undefined}
style={
Array [
Object {
@ -517,7 +509,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
<separator />
</View>
<View
onLayout={undefined}
style={
Array [
Object {
@ -539,7 +530,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
<separator />
</View>
<View
onLayout={undefined}
style={
Array [
Object {
@ -561,7 +551,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
<separator />
</View>
<View
onLayout={undefined}
style={
Array [
Object {
@ -583,7 +572,6 @@ exports[`VirtualizedList renders all the bells and whistles 1`] = `
<separator />
</View>
<View
onLayout={undefined}
style={
Array [
Object {
@ -629,7 +617,6 @@ exports[`VirtualizedList renders empty list 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -660,7 +647,6 @@ exports[`VirtualizedList renders empty list with empty component 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -709,7 +695,6 @@ exports[`VirtualizedList renders list with empty component 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -740,13 +725,11 @@ exports[`VirtualizedList renders list with empty component 1`] = `
exports[`VirtualizedList renders null list 1`] = `
<RCTScrollView
data={undefined}
disableVirtualization={false}
getItem={[Function]}
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -786,7 +769,6 @@ exports[`VirtualizedList renders simple list 1`] = `
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}
@ -845,7 +827,6 @@ exports[`VirtualizedList test getItem functionality where data is not an Array 1
getItemCount={[Function]}
horizontal={false}
initialNumToRender={10}
invertStickyHeaders={undefined}
keyExtractor={[Function]}
maxToRenderPerBatch={10}
onContentSizeChange={[Function]}