axios-mock-adapter
axios-mock-adapter copied to clipboard
Implement toJSON method on errors.
Enhanced Axios errors have a .toJSON() method to facilitate serialization:
https://github.com/axios/axios/pull/1625