axios-mock-adapter
axios-mock-adapter copied to clipboard
Support response header
In order to mock auth route I need to provide a custom header in the reponse that's returned by the server.
As far as I can tell, only body of the response can be specified neither documentation gives details on this nor have I been able to figure it out by looking at the sources.
If it's already supported could you provide an example of modifying response headers?