Skip to content

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

Merged
tkajtoch merged 16 commits into
elastic:feature/react-18from
tkajtoch:feat/react-18-fix-compatibility-and-unit-tests
Jul 26, 2023
Merged

tkajtoch merged 16 commits into
elastic:feature/react-18from
tkajtoch:feat/react-18-fix-compatibility-and-unit-tests

Conversation

@tkajtoch

@tkajtoch tkajtoch commented Jul 26, 2023 •

Copy link
Copy Markdown
Contributor

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 a team and cee-chen July 26, 2023 21:39

@cee-chen cee-chen left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor

1 similar comment
@kibanamachine

Copy link
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

@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
Copy Markdown
Contributor

@kibanamachine

Copy link
Copy Markdown
Contributor

@elasticmachine

Copy link
Copy Markdown
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