When using interceptors there is an eject function that allows you to clean up after yourself. Right now those functions aren't mocked and my tests are throwing the following error
TypeError: axios.interceptors.request.eject is not a function
this change should fix that.
note: sorry for the extra commits, my editor changed the formatting quite a bit and I didn't realize it until I was creating the PR.
When using interceptors there is an eject function that allows you to clean up after yourself. Right now those functions aren't mocked and my tests are throwing the following error
this change should fix that.
note: sorry for the extra commits, my editor changed the formatting quite a bit and I didn't realize it until I was creating the PR.