Jest on React, test a prop is called

后端 未结 0 1160
渐次进展
渐次进展 2021-01-31 22:43

I have a component with a props that is an action called changeReason()

And then, I have a function called when I press a button. The function is:

<         


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