Add test checking if StatsTable is shown on button click
This commit is contained in:
+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