Mock ref.current inside React functional component using jest/enzyme

前端 未结 0 983
我在风中等你
我在风中等你 2020-12-04 00:49

I have component the basic logic of which is here (I used "..." to hide unnecessary context).

  const tabs = React.useRef(null);
  const [showSelect         


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