Closed createthis closed 4 years ago
I'm seeing a difference between axios-mock-adapter and using axios on Chrome using the following pseudocode:
axios-mock-adapter
axios
try { const response = await axios.put(some_url); } catch (e) {
Using axios_mock_adapter the path is:
axios_mock_adapter
e.response.request.responseUrl
However on Chrome it is:
e.response.request.responseURL
This is pretty annoying because I have to test both on the client when simulating 302 redirects.
Will be fixed by #287
I'm seeing a difference between
axios-mock-adapter
and usingaxios
on Chrome using the following pseudocode:Using
axios_mock_adapter
the path is:However on Chrome it is:
This is pretty annoying because I have to test both on the client when simulating 302 redirects.