We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added just those two lines:
import MockAdapter from 'axios-mock-adapter' const mock = new MockAdapter(axios, { onNoMatch: "throwException" })
and ALL of my endpoints stopped working. Is that by default?
The text was updated successfully, but these errors were encountered:
Yeah, if no match, it will throw Exception, if you don't want that, can change to passthrough
throw Exception
passthrough
Sorry, something went wrong.
No branches or pull requests
I added just those two lines:
and ALL of my endpoints stopped working. Is that by default?
The text was updated successfully, but these errors were encountered: