Skip to content

Conversation

@TheMythologist
Copy link
Contributor

Description

Rids of the following warning:

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.

Reference: facebook/react#29000

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Code quality improvements

Checklist

  • I have tested this code

@coveralls
Copy link

coveralls commented Sep 24, 2024

Pull Request Test Coverage Report for Build 11093652429

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 31.449%

Totals Coverage Status
Change from base Build 11080760097: 0.0%
Covered Lines: 4852
Relevant Lines: 14547

💛 - Coveralls

Copy link
Member

@RichDom2185 RichDom2185 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks a lot!

@RichDom2185 RichDom2185 enabled auto-merge (squash) September 29, 2024 15:00
@RichDom2185 RichDom2185 merged commit 81573e6 into source-academy:master Sep 29, 2024
6 checks passed
@TheMythologist TheMythologist deleted the bump-@testing-library/react branch October 13, 2024 13:33
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.

3 participants