I want to add different stubs for GET and POST methods on the same URL.
@sezanzeb I myself haven't gotten stubs to work but checkout the declaration for stubRequest, it supports an optional first parameter allowing you to specify the type of axios request.
By passing the method as first argument, the request will hang forever :-(
This should work.
Looks like the /dist folder isn't updated with the latest source code.
Code in dist folder:
Code in index.js:
Codesti | Contact