Mocked useHistory is not called in async event handler

后端 未结 0 649
粉色の甜心
粉色の甜心 2021-01-23 10:27

Summary

I\'m writing test code for my react app, but somehow, it always fails.

My app code is very simple, there is only one button, and if it\'s clicked, a func

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