Closed
Description
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:
--