Open adamgcoulon opened 1 month ago
Is it possible to mock a lack of a response? I'd like to test Axios error handling when a request is made but the server does not respond. If I use .timeout(), the request object on the AxiosError is not present.
.timeout()
https://axios-http.com/docs/handling_errors
Is it possible to mock a lack of a response? I'd like to test Axios error handling when a request is made but the server does not respond. If I use
.timeout()
, the request object on the AxiosError is not present.https://axios-http.com/docs/handling_errors