From 0718b7a37c710568cc2b56e78fa6017cf784e7ad Mon Sep 17 00:00:00 2001 From: Jeremy Hamilton Date: Wed, 17 Jun 2020 15:47:12 -0700 Subject: [PATCH] add test id to listitem-padview --- src/list/ListItem.js | 1 + src/list/__tests__/__snapshots__/ListItem.js.snap | 1 + 2 files changed, 2 insertions(+) diff --git a/src/list/ListItem.js b/src/list/ListItem.js index e9ff5a4e44..782dc14b01 100644 --- a/src/list/ListItem.js +++ b/src/list/ListItem.js @@ -375,6 +375,7 @@ class PadView extends React.Component { (child, index) => child && [child, index !== length - 1 && ] )} + testID="listItemPadView" ); } diff --git a/src/list/__tests__/__snapshots__/ListItem.js.snap b/src/list/__tests__/__snapshots__/ListItem.js.snap index 8398592ebf..f04d8cfcdc 100644 --- a/src/list/__tests__/__snapshots__/ListItem.js.snap +++ b/src/list/__tests__/__snapshots__/ListItem.js.snap @@ -76,6 +76,7 @@ exports[`ListItem component should apply values from theme 1`] = ` List Title + testID="listItemPadView" `;