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
Instead of basing my tests on the generated output of a custom paramsSerializer, I added assertions for the params passed in object form to the request.
In addition, I extracted the value of the paramsSerializer function and separately added a full series of tests at the unit-level.
I've run into a case where I needed to customize axio's
paramsSerializer
to change the default handling of array serialization.It would be super if we could test for proper param serialization with this mock adapter.
My suggestion would be to add a new
fullUrl
to the history entries which includes the serialized parameters.The text was updated successfully, but these errors were encountered: