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
I started a discussion in the wagmi repo asking about testing wrapped hooks. In your package I can only see a custom render for testing components. Is there an example of a custom renderHook function that would allow me to test my generated hooks using vitest?
The text was updated successfully, but these errors were encountered:
hardingjam
changed the title
Is it possible to test custom hooks with this package, or just components?
Testing custom hooks geenrated from @wagmi/cli outside of components
Dec 6, 2023
I started a discussion in the wagmi repo asking about testing wrapped hooks. In your package I can only see a custom render for testing components. Is there an example of a custom renderHook function that would allow me to test my generated hooks using vitest?
The text was updated successfully, but these errors were encountered: