I want to test react API with moxios

后端 未结 0 1652
一生所求
一生所求 2020-12-14 17:51

I am learning testing with jest and enzyme. I want to test an API with moxios but facing a lot of challenges. I have an API call as below:

useEffect(() =>          


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