React testing library - testing method is getting correct parameters

前端 未结 0 566
-上瘾入骨i
-上瘾入骨i 2020-12-23 08:49

How can I check to see that the right parameter is passed to a method (addTags) that is being called with in my component? AddTags is a method I have defined in a file that

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