Imagine, I have a react native component:
const HelloWorld = (props) => (
<View>
<Text>Hello World</Text>
</View>)
I want to run a test to refer to HelloWorld component itself and check for a prop. How do I access HelloWorld itself and retrieve its props?
I didn't find options like baseElement as used in other similar libraries