Skip to content

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

Description

@hardingjam

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions