how to mock useRef with jest and enzyme

后端 未结 0 2059
予麋鹿
予麋鹿 2021-02-14 23:34

I am using a functional component that has a useRef hook. I am having a hard time mocking it. My functional component is as follows,

import { faSearc         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题