issues
search
ctimmerm
/
axios-mock-adapter
Axios adapter that allows to easily mock requests
MIT License
3.47k
stars
245
forks
source link
Migrate to modern js
#393
Closed
marcbachmann
closed
1 month ago
marcbachmann
commented
3 months ago
Changelog
♻️ Migrate internal handler to an object
🎁 Migrate handlers and history to a flat array. That way one only needs to check the history array to see all requests. The verbs on the array are still exposed, so there's no downside.
♻️ Migrate to ES2022
♻️ Migrate to Class
♻️ Migrate to async/await
🎁 Add MockResponse types
Changelog