[Jest] Snapshot serializer not working
dkozar opened this issue · 1 comments
dkozar commented
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?
joshuaellis commented
This needs a proper reproduction with no redactions for us to correctly investigate please.




