Skip to content

Rerender with new wrapper #322

@josejulio

Description

@josejulio

Describe the feature you'd like:

I would like to be able to test a re-render with a different wrapper.
The use case is to ensure that returned callbacks of the tested hook are changed when a new wrapper is used.

Suggested implementation:

--

Describe alternatives you've considered:

I have considered using the renderHook again, but it doesn't keep the previous state and the test is not really relevant this way.

Teachability, Documentation, Adoption, Migration Strategy:

--

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions