Axios.post mock function is not called with Jest, VueJS

后端 未结 0 1947
隐瞒了意图╮
隐瞒了意图╮ 2020-12-06 19:35

I want to test my action.

  • My action has 1 AXIOS request and 1 mutation.
  • I mocked my axios with jest.mock(“axios” …). I return a Promise.
  • I def
相关标签:
回答
  • 消灭零回复
提交回复
热议问题