ctimmerm / axios-mock-adapter

Axios adapter that allows to easily mock requests
MIT License
3.44k stars 244 forks source link

Extend history to include handler information. #241

Open wcatron opened 4 years ago

wcatron commented 4 years ago

Currently the history only contains the requests sent to axios it doesn't have any information about how that request was handled. I would have liked to just include the handler but it requires a lot of interpretation. This model can be extended in the future to include additional fields if they are useful for others.