Add test checking if StatsTable is shown on button click

This commit is contained in:
MariaZ
2022-09-20 13:42:21 +02:00
parent 57c8e31a9a
commit bee6b145ed
2 changed files with 15 additions and 2 deletions
+4 -1
View File
@@ -77,7 +77,10 @@ const Stats = () => {
{isStatsVisible && (
<AppModal onClose={() => setIsStatsVisible(false)}>
<StatsTable onClose={() => setIsStatsVisible(false)} />
<StatsTable
onClose={() => setIsStatsVisible(false)}
testID="statsTable"
/>
</AppModal>
)}
</SafeAreaView>