How to write unit test cases and improve sonar coverage for passed arrow function using jest and enzyme?

前端 未结 0 1444
不思量自难忘°
不思量自难忘° 2020-12-12 13:32

I have a class component with one method. I am calling one another method inside the class component method with passing the callback/arrow function as a parameter.



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