Answer the question
In order to leave comments, you need to log in
How to work with ref in jest+enzyme?
There is a function that uses ref, how to test it?
If you just start testing the function, it gives an error that ref such and such is undefined
Answer the question
In order to leave comments, you need to log in
Too bad you can't see the code.
Alternatively, look here:
https://reactjs.org/blog/2018/03/29/react-v-16-3.h...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question