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

Remove testURL hotfix from jest upgrade #22953

Merged
merged 3 commits into from
Sep 12, 2018

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Sep 12, 2018

While upgrading jest in #22791 I had to set the testURL config to about:blank to prevent JSDom from executing ajax requests, but turns out fixing the problem isn't that hard and using the default allows simulate navigation, which I need to test #20696.

@spalger spalger added review Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.0.0 v6.5.0 labels Sep 12, 2018
@spalger spalger requested a review from epixa September 12, 2018 04:03
@spalger spalger force-pushed the fix/jest/no-accidental-fetch branch from aa2db5f to 63b17f4 Compare September 12, 2018 04:07
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@epixa epixa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@spalger spalger merged commit 9847e82 into elastic:master Sep 12, 2018
spalger pushed a commit to spalger/kibana that referenced this pull request Sep 12, 2018
* [jest] disable testURL hotfix

* [console] mock jquery.ajax in tests

* [ui/share] update urls in snapshots
spalger pushed a commit that referenced this pull request Sep 13, 2018
Backports the following commits to 6.x:
 - Remove testURL hotfix from jest upgrade  (#22953)
@spalger
Copy link
Contributor Author

spalger commented Sep 13, 2018

6.5/6.x: a82af28

@spalger spalger deleted the fix/jest/no-accidental-fetch branch September 13, 2018 00:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v6.5.0 v7.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants