Closed Seb-C closed 1 year ago
In Axios, it is possible to use this configuration to get explicit timeout errors:
transitional: { clarifyTimeoutError: true, },
When doing that, I get the error code ETIMEDOUT instead of ECONNABORTED in Axios.
ETIMEDOUT
ECONNABORTED
However, the timeout method of this adapter always returns ECONNABORTED, so it's not possible to properly test this scenario.
timeout
In Axios, it is possible to use this configuration to get explicit timeout errors:
When doing that, I get the error code
ETIMEDOUT
instead ofECONNABORTED
in Axios.However, the
timeout
method of this adapter always returnsECONNABORTED
, so it's not possible to properly test this scenario.