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

test(browser): Add integration tests for new XHR Transport #4814

Merged
merged 1 commit into from
Mar 29, 2022

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Mar 29, 2022

This PR adds integration tests to test the new XHR transport introduced in #4803

The tests are very similar to the new Fetch transport integration tests introduced in #4765. The only difference is that they disable the browsers' Fetch API by setting window.fetch = undefined. This way, the SDK falls back to the XHR transport.

ref: https://getsentry.atlassian.net/browse/WEB-752

@Lms24 Lms24 changed the title test(browser): add integration tests for new XHR transport test(browser): Add integration tests for new XHR Transport Mar 29, 2022
@Lms24 Lms24 requested a review from AbhiPrasad March 29, 2022 12:52
@Lms24 Lms24 merged commit 8035b14 into master Mar 29, 2022
@Lms24 Lms24 deleted the lms-new-xhr-transport-integ-test branch March 29, 2022 13:22
@AbhiPrasad AbhiPrasad added this to the Pre 7.0.0 Work milestone Apr 6, 2022
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

Successfully merging this pull request may close these issues.

2 participants