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
Do you mean using getContext/setContext? You could pass a prop into the render call that will be used to set the context. Or you can wrap your target component in a faux component that sets a context.
Hi ! My question is pretty simple:
I was wondering if there was any way to mock or pass a test context with the render function ?
The text was updated successfully, but these errors were encountered: