2
0
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:
Dmitriy Mozgovoy
2023-10-22 18:20:44 +03:00
committed by GitHub
parent 5aaff532a6
commit 7d45ab2e2a
4 changed files with 83 additions and 80 deletions
+1 -1
View File
@@ -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);
});