Skip to content

Commit

Permalink
add test id to listitem-padview
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Hamilton committed Jun 17, 2020
1 parent f70771d commit 0718b7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/list/ListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,7 @@ class PadView extends React.Component {
(child, index) =>
child && [child, index !== length - 1 && <View width={pad} />]
)}
testID="listItemPadView"
</Container>
);
}
Expand Down
1 change: 1 addition & 0 deletions src/list/__tests__/__snapshots__/ListItem.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ exports[`ListItem component should apply values from theme 1`] = `
List Title
</Text>
</View>
testID="listItemPadView"
</View>
</View>
`;
Expand Down

0 comments on commit 0718b7a

Please sign in to comment.