Trigger callback from external component react testing library

前端 未结 0 1253
予麋鹿
予麋鹿 2020-11-27 21:28

I am trying to figure out how to test callbacks that are given as props to react functional components using jest and react testing library.

Example scenario: I am te

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