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

1345 update react test utils #1388

Merged
merged 4 commits into from
Jun 4, 2024
Merged

Conversation

scottqueen-bixal
Copy link
Collaborator

@scottqueen-bixal scottqueen-bixal commented Jun 3, 2024

PR Summary

we were getting some warning from react-dom-test-utils, due to some outdated packages

stderr | shared/components/Alert/__tests__/index.spec.jsx > Alert > renders a match to the previous snapshot, default
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.

This works to update our node packages to the wanted versions.

Related Github Issue

Detailed Testing steps

  • review Test Frontend check to ensure all react unit tests are passing without the error above

https://github.com/GSA/px-benefit-finder/actions/runs/9352000883/job/25739078735?pr=1388#step:5:10

@scottqueen-bixal scottqueen-bixal requested a review from gchi25 June 3, 2024 14:29
@scottqueen-bixal scottqueen-bixal self-assigned this Jun 3, 2024
@scottqueen-bixal scottqueen-bixal marked this pull request as ready for review June 3, 2024 14:31
@scottqueen-bixal scottqueen-bixal merged commit cb82e17 into dev Jun 4, 2024
13 checks passed
@scottqueen-bixal scottqueen-bixal deleted the 1345-update-react-test-utils branch June 4, 2024 15:19
casey-rapnicki-bixal pushed a commit that referenced this pull request Jun 12, 2024
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.

Update React DOM Test Utils
2 participants