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

Various deprecation warnings in tests #3923

Open
urugator opened this issue Sep 9, 2024 · 0 comments
Open

Various deprecation warnings in tests #3923

urugator opened this issue Sep 9, 2024 · 0 comments

Comments

@urugator
Copy link
Collaborator

urugator commented Sep 9, 2024

Warning: ReactDOMTestUtils.act is deprecated in favor of React.act. Import act from react instead of react-dom/test-utils

Warning: StatelessComp: Support for defaultProps will be removed from memo components in a future major release. Use JavaScript default parameters instead.

Warning: An update to null inside a test was not wrapped in act(...).

PR welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants