axios-mock-adapter icon indicating copy to clipboard operation
axios-mock-adapter copied to clipboard

Migrate to modern js

Open marcbachmann opened this issue 1 year ago • 0 comments

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

marcbachmann avatar Aug 06 '24 15:08 marcbachmann