Way #2 - jest-mock-axios · Reset the mocked Axios object by calling: mockAxios. · Create a sample response and make mocked Axios return it: ...
確定! 回上一頁