Add test checking if StatsTable is shown on button click

This commit is contained in:
MariaZ committed 2022-09-20 13:42:21 +02:00
1 parent 57c8e31a9a
commit bee6b145ed
2 files changed
+15 -2

No files matched your search

+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>