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

Deal with all the jest console warnings #3303

Open
benfurber opened this issue Feb 26, 2024 · 0 comments · May be fixed by #3410
Open

Deal with all the jest console warnings #3303

benfurber opened this issue Feb 26, 2024 · 0 comments · May be fixed by #3410

Comments

@benfurber
Copy link
Member

There's loads of console warnings/errors that make reading through the test suite annoying and difficult to find real test errors, especially on CI.

This error is common:

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

These errors should be dealt with as advised by the message.

Another log that's typical is a console log we're choosing to call, in which case the tests should be calling expectations, etc. in a block so that the actual log isn't visible when running the tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: New / Under Discussion
Development

Successfully merging a pull request may close this issue.

1 participant