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

@testing-library remove "pure" hack #78742

Merged
merged 6 commits into from
Oct 1, 2020
Merged

@testing-library remove "pure" hack #78742

merged 6 commits into from
Oct 1, 2020

Conversation

Dosant
Copy link
Contributor

@Dosant Dosant commented Sep 29, 2020

Summary

Fixes #59469

When I originally looked at improving @testing-library/* setup in #59445, I bumped into weird race condition issue with global side effects described here #59469

Now I just tried to revert all /pure workarounds and initialised cleanup side effect in the jest setup and it just works.
Maybe due to #78270 updates or something else.

With this pr I am happy with @testing-library/* setup in kibana :)

@Dosant Dosant added Feature:Unit Testing release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0 labels Sep 29, 2020
@Dosant Dosant changed the title unpure, see what happens @testing-library remove "pure" hack Sep 29, 2020
@Dosant Dosant marked this pull request as ready for review September 29, 2020 11:59
@Dosant Dosant requested a review from a team September 29, 2020 11:59
@Dosant Dosant requested review from a team as code owners September 29, 2020 11:59
Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

KibanaApp code review only, LGTM, this is great @Dosant 🙂

@botelastic botelastic bot added Feature:Drilldowns Embeddable panel Drilldowns Feature:Embedding Embedding content via iFrame labels Sep 29, 2020
Copy link
Member

@mistic mistic left a comment

Choose a reason for hiding this comment

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

LGTM

@mistic
Copy link
Member

mistic commented Sep 30, 2020

@elasticmachine merge upstream

@mistic
Copy link
Member

mistic commented Sep 30, 2020

@elasticmachine merge upstream

@Dosant
Copy link
Contributor Author

Dosant commented Oct 1, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@Dosant Dosant merged commit 4d5a9df into elastic:master Oct 1, 2020
Dosant added a commit to Dosant/kibana that referenced this pull request Oct 1, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Dosant added a commit that referenced this pull request Oct 1, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Drilldowns Embeddable panel Drilldowns Feature:Embedding Embedding content via iFrame Feature:Unit Testing release_note:skip Skip the PR/issue when compiling release notes v7.10.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Unit Testing][Flaky] Jest suite and react-testing-library registration race condition
6 participants