Skip to content
New issue

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

Using isAxiosError on a moxios.stubRequest where status is 500. #108

Open
karloluis opened this issue Aug 7, 2024 · 0 comments
Open

Using isAxiosError on a moxios.stubRequest where status is 500. #108

karloluis opened this issue Aug 7, 2024 · 0 comments

Comments

@karloluis
Copy link

I am attempting to stub a request as a 500 failure. Normally I check that the error is of AxiosError type with the isAxiosError method. But when I run the test suite using moxios this is not replicating such behavior.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant