Add test checking if StatsTable is shown on button click
This commit is contained in:
1 parent
57c8e31a9a
commit
bee6b145ed
2 files changed
+15
-2
No files matched your search
+4
-1
@@ -77,7 +77,10 @@ const Stats = () => {
|
||||
|
||||
{isStatsVisible && (
|
||||
<AppModal onClose={() => setIsStatsVisible(false)}>
|
||||
<StatsTable onClose={() => setIsStatsVisible(false)} />
|
||||
<StatsTable
|
||||
onClose={() => setIsStatsVisible(false)}
|
||||
testID="statsTable"
|
||||
/>
|
||||
</AppModal>
|
||||
)}
|
||||
</SafeAreaView>
|
||||
|
||||
Reference in new issue
Block a user