testing-wagmi icon indicating copy to clipboard operation
testing-wagmi copied to clipboard

Testing custom hooks geenrated from @wagmi/cli outside of components

Open hardingjam opened this issue 2 years ago • 0 comments

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?

hardingjam avatar Dec 06 '23 13:12 hardingjam