I have a component with the following structure
<T>
<T>{" "} Hi</T>
how are you ?
</T>
when I do getByText("how are you ?") it doesn't find anything and I couldn't use custom matcher Any suggestion ?
I have a component with the following structure
<T>
<T>{" "} Hi</T>
how are you ?
</T>
when I do getByText("how are you ?") it doesn't find anything and I couldn't use custom matcher Any suggestion ?
this worked :
seems weird , but worked