fetch-mock
fetch-mock copied to clipboard
Rethink inspection API
I think fetch-mock-jest is a step in the right direction. Should look into exploring an api built into fetch-mock that is similarly nice to use.
See also #361
This also has implications for overwriteRoutes
- I think the current implementation should probably be ditched
- retrieving of matched calls should rely far less on [coercively] named handlers
- over-riding a particular route should be possible by referencing its name