This enables the default methods/properties when using Axios directly (e.g.: axios(config)).
We hit a point where we needed to check the arguments passed to the calls to a direct call of axios (axios.mock.calls), and we realized these methods and properties were missing. It would be nice to have all the power of the default jest mock functions.
This enables the default methods/properties when using Axios directly (e.g.:
axios(config)
).We hit a point where we needed to check the arguments passed to the calls to a direct call of axios (
axios.mock.calls
), and we realized these methods and properties were missing. It would be nice to have all the power of the default jest mock functions.