Test if function have been called - React,

后端 未结 0 1175
后悔当初
后悔当初 2020-12-16 00:25

I am trying to test a simple component.

In my component, I am calling the fetchPdf function with useEffect.

Inside fetchPdf function I am making axios request

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