State is not updated after mocking axios call with Jest

前端 未结 0 1612

I\'m trying to unit test a component that makes an axios call and updates the state with the result using jest and enzyme. When I run the test however, the state doesn\'t seem t

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