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

[React 18] Fix cross-version compatibility and unit test errors #7002

Conversation

tkajtoch
Copy link
Member

@tkajtoch tkajtoch commented Jul 26, 2023

Summary

Note that these changes were already reviewed (until this commit) in #6994 but github couldn't see the latest commit in refs/pull/6994 or trigger CI.

This PR fixes all remaining unit tests, removes unused useRenderToText() internal utility and fixes code style in a few files I missed that were merged before (sorry!!)

QA

  1. Checkout this branch
  2. Run rm -rf node_modules && yarn
  3. Run yarn lint
  4. Run yarn test-unit
  5. Run REACT_VERSION=17 yarn test-unit
  6. Confirm all of the above succeeded

@tkajtoch tkajtoch self-assigned this Jul 26, 2023
@tkajtoch tkajtoch changed the title Feat/react 18 fix compatibility and unit tests [React 18] Fix cross-version compatibility and unit test errors Jul 26, 2023
@tkajtoch tkajtoch requested review from cee-chen and a team July 26, 2023 21:39
Copy link
Contributor

@cee-chen cee-chen left a comment

Choose a reason for hiding this comment

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

Inline Edit tests pass for me locally much faster than they did before - thanks for cleaning up those promises 😅

Here's hoping neither GitHub nor Jenkins are attacked by gremlins this time... 🤞

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_7002_buildkite/

1 similar comment
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_7002_buildkite/

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_7002/

@tkajtoch tkajtoch force-pushed the feat/react-18-fix-compatibility-and-unit-tests branch from 67e7112 to cf8bb89 Compare July 26, 2023 22:34
@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_7002_buildkite/

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_7002/

@elasticmachine
Copy link
Collaborator

💚 Build Succeeded

History

cc @tkajtoch

@tkajtoch tkajtoch merged commit 716b08b into elastic:feature/react-18 Jul 26, 2023
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.

4 participants