Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
hardingjam opened this issue Dec 6, 2023 · 0 comments

Comments

@hardingjam
Copy link

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 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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

No branches or pull requests

1 participant