How can I test using mock in Jest

前端 未结 0 584
醉话见心
醉话见心 2020-12-18 03:30

How can I test the true case using Jest in this scenario.

I believe I need to use mock, but I don\'t know how to make the test code in this case.

I have my cla

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