Mocking React custom hook with Jest

前端 未结 0 528
有刺的猬
有刺的猬 2020-12-13 05:19

I need to mock my custom hook when unit testing React component. I have read few tutorials and stackoverflow answers to this simple task, but without luck to implement it co

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