fetch-mock icon indicating copy to clipboard operation
fetch-mock copied to clipboard

Rethink inspection API

Open wheresrhys opened this issue 5 years ago • 1 comments

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

wheresrhys avatar May 09 '20 18:05 wheresrhys

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

wheresrhys avatar May 10 '20 09:05 wheresrhys