You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The history of request's config seems to be overwrite if it belongs to the same request.
Here is the demo code: I create a axios instance which will update the request's headers if server's response's data said statusCode is 401 (NOTE: not http status code), and re-send the request with the updated config.
The expectation is the first request header should not as same as the second. But the assertion always failed ( For reading convenience, I put the failed assertion at the end of the test case)
versions:
The history of request's config seems to be overwrite if it belongs to the same request.
Here is the demo code: I create a axios instance which will update the request's headers if server's response's data said
statusCode is 401
(NOTE: not http status code), and re-send the request with the updated config.The expectation is the first request header should not as same as the second. But the assertion always failed ( For reading convenience, I put the failed assertion at the end of the test case)
------------ netadapter.ts ----------------
-------------------- the test suits ---------------------
-------------- the test results -------------------
The text was updated successfully, but these errors were encountered: