How to test a component that receives a ref as props?

后端 未结 0 443
夕颜
夕颜 2021-01-24 22:56

I want to snapshot a component in React using react-test-renderer. The component I want to test receives a ref from another component. The component I\

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