You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.
can any one suggest how to write unit test for RelativePortal.
challenge - unable to find component or any html tags written inside RelativePortal. <RelativePortal component="div" > <div><OtherComponent/></div> </RelativePortal>
test : const wrapper =mount(<MyComponent />); wrapper.find(<OtherComponent/>) or wrapper.find('OtherComponent') tried didn't working out
I am using tape plus, enzyme for testing.
The text was updated successfully, but these errors were encountered:
can any one suggest how to write unit test for RelativePortal.
challenge - unable to find component or any html tags written inside RelativePortal.
<RelativePortal component="div" > <div><OtherComponent/></div> </RelativePortal>
test :
const wrapper =mount(<MyComponent />); wrapper.find(<OtherComponent/>) or wrapper.find('OtherComponent')
tried didn't working outI am using tape plus, enzyme for testing.
The text was updated successfully, but these errors were encountered: