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

Fix most of the warnings related to act #35926

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

gzdunek
Copy link
Contributor

@gzdunek gzdunek commented Dec 20, 2023

After upgrading React to v18, there was a lot of errors related to act. They were caused by an incorrect version of
@testing-library/dom that was resolved.
To fix this, I updated eslint-plugin-jest-dom. Starting from version v5, @testing-library/dom is a peer dependency there.

Related issue: #34286 (comment)

Previously we had 346 warnings, now we have 19:

 yarn test 2>&1 | rg "^\s+console\." | wc -l
      19

@gzdunek gzdunek added the no-changelog Indicates that a PR does not require a changelog entry label Dec 20, 2023
Copy link
Member

@ravicious ravicious left a comment

Choose a reason for hiding this comment

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

Nice. Just tagging #33356 to keep track of the issues Yarn v1 has caused so far.

@gzdunek gzdunek added this pull request to the merge queue Dec 20, 2023
Merged via the queue into master with commit 0b514aa Dec 20, 2023
40 of 41 checks passed
@gzdunek gzdunek deleted the gzdunek/fix-most-act-warnings branch December 20, 2023 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Indicates that a PR does not require a changelog entry size/sm ui
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants