how do I unit test a React component that inherits state from another component as a prop?

后端 未结 0 1502
说谎
说谎 2021-01-25 22:58

I have a React app in which I have some state defined in the App component but which is populated in a child component and I\'m having trouble creating a unit test using react-t

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