ctimmerm / axios-mock-adapter

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

Clarify params usage #286

Closed jakepeyser closed 3 years ago

jakepeyser commented 3 years ago

When utilizing the params option in the mock handlers, it is unclear that you need to specify all key/value pairs passed to that option. Based on the current docs, it can easily be misconstrued that only the key/value pairs that you pass to the mock handler are checked for equivalency.

This update adds an additional line to the README that clarifies this behavior.

ctimmerm commented 3 years ago

Thanks!