React testing child component based on side effect

前端 未结 0 991
一向
一向 2020-12-13 17:48

I have a component in Component.js, where banner is another component. How could I test it for different count ? I tried to test it with react-testing-library, but the chil

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