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

Randomly fail axios #9

Open
idmontie opened this issue Sep 6, 2018 · 1 comment
Open

Randomly fail axios #9

idmontie opened this issue Sep 6, 2018 · 1 comment

Comments

@idmontie
Copy link
Member

idmontie commented Sep 6, 2018

As a developer that uses axios, I would like to randomly fail axios requests, so that I can test that I have handled all error states correctly.

@idmontie idmontie added this to the Request Failing milestone Sep 6, 2018
@idmontie
Copy link
Member Author

idmontie commented Sep 6, 2018

This should be handled by #6 since axios uses XMLHttpRequest behind the scenes: https://github.com/axios/axios/blob/master/lib/adapters/xhr.js#L19

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

No branches or pull requests

1 participant