Trying to make a test for a reusable component with jest and enzyme

前端 未结 0 540
北荒
北荒 2020-11-27 02:24

I\'ve been able to set up shallow rendering tests for most of my components. This one is a reusable component with a life cycle method, so I believe I need to use mount. How

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