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

chore(deps): Upgrade to React Testing Library 14.3.1 #10514

Merged

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Apr 25, 2024

Was getting

Warning: ReactDOMTestUtils.act is deprecated in favor of React.act. Import act from react instead of react-dom/test-utils. See https://react.dev/warnings/react-dom-test-utils for more info.

image

I thought I fixed that as part of #10512 but it turns out it wasn't enough to fix our own code. Also needed to upgrade React Testing Library that uses act internally. RTL initially fixed this in testing-library/react-testing-library#1294, but then they fixed/patched their fix in https://github.com/testing-library/react-testing-library/pull/1299/files and released that as 14.3.1

@Tobbe Tobbe added release:chore This PR is a chore (means nothing for users) changesets-ok Override the changesets check labels Apr 25, 2024
@Tobbe Tobbe added this to the next-release milestone Apr 25, 2024
@Tobbe Tobbe merged commit 096c401 into redwoodjs:main Apr 25, 2024
50 of 59 checks passed
@Tobbe Tobbe deleted the tobbe-chore-upgrade-react-testing-library-14.3.1 branch April 25, 2024 09:08
dac09 added a commit that referenced this pull request Apr 26, 2024
…g-gen-mw-p2

* 'main' of github.com:redwoodjs/redwood:
  RSC: Add RSC+SSR smoke test to CI (#10477)
  fix(dbauth-mw): Use response passed in to middleware (#10516)
  Add redwood.toml to `yarn rw info` (#10518)
  chore(tests): Fix packages/web tests (#10517)
  fix(dbauth-mw): Unset cookie instead of clearing (#10502)
  chore(deps): Upgrade to React canary 20240424 (#10513)
  chore(deps): Upgrade to React Testing Library 14.3.1 (#10514)
  feat(upgrade): Use GitHub token if available when downloading patches (#10515)
@Josh-Walker-GM Josh-Walker-GM modified the milestones: next-release, v7.5.0 May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants