Skip to content

Make internal helpers aware of renderHook util #624

Open
@Belco90

Description

@Belco90

Update internal helpers for considering the new React Testing Library renderHook util:

  • The renderHook method shouldn't be treated as a regular render method.
  • New utils for detecting renderHook are needing. Won't be used for now, but will simplify the implementation of specific react-hooks-testing-library rules.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestv7Next major v7

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions