How to write unit test for an async API call in React component?

前端 未结 0 1303
孤独总比滥情好
孤独总比滥情好 2021-01-27 13:12

I\'m new in TDD and have trying to learn more. For example I\'ve a unit test like this:

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