mirror of
https://github.com/tenrok/axios.git
synced 2026-06-11 18:02:32 +03:00
chore(tests): fixed tests to pass in node v19 and v20 with keep-alive enabled; (#6021)
This commit is contained in:
@@ -580,7 +580,7 @@ export default isHttpAdapterSupported && function httpAdapter(config) {
|
||||
}
|
||||
response.data = responseData;
|
||||
} catch (err) {
|
||||
reject(AxiosError.from(err, null, config, response.request, response));
|
||||
return reject(AxiosError.from(err, null, config, response.request, response));
|
||||
}
|
||||
settle(resolve, reject, response);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user