-
-
Notifications
You must be signed in to change notification settings - Fork 855
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
Getting an error of XMLHttpRequest while running jest test case #933
Labels
Comments
ArjunPatidarRadix
changed the title
getting an error of XMLHttpRequest while running jest test case
Getting an error of XMLHttpRequest while running jest test case
Mar 21, 2024
Have the same issue |
have you found any solution for it? @MarcHbb |
Any updates on this issue? |
Facing the same problem... any solution ?? |
Guys any updates on this? I just mocked GooglePlacesAutocomplete component but it's not what I wanted to do |
Try using xhr-mock. Look at the example they provide - you'll have to do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReferenceError: XMLHttpRequest is not defined
i have also searched on web to mock this package for jest test cases but didn't find any proper steps or doc about it
so if anyone have info about mocking then please guide me for same.
The text was updated successfully, but these errors were encountered: