Open
Description
Hi,
I have the following snapshot serializer:
I've set it up (globally), so Jest uses it when unit tests are running:
It works nicely with render()
method of @testing-library/react
:
However, with renderHook()
, it seems to not working:
It doesn't help if I target the className
attribute instead of class
:
Question: What do I have to do so react-hooks-testing-library
uses the snapshot serializer?