How to test react component with Jest

后端 未结 0 1187
南方客
南方客 2020-12-17 04:33

I am using Jest and Enzyme to test React components, Now I want to test the given Year element inside given function. I can test element which comes from API. But How can I

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