Skip to content

Fix act warnings for usePaginatedQuery tests #12598

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

Open
BrunoQuaresma opened this issue Mar 14, 2024 · 1 comment
Open

Fix act warnings for usePaginatedQuery tests #12598

BrunoQuaresma opened this issue Mar 14, 2024 · 1 comment
Labels
site Area: frontend dashboard

Comments

@BrunoQuaresma
Copy link
Collaborator

BrunoQuaresma commented Mar 14, 2024

When running pnpm jest ./src/hooks/usePaginatedQuery.test.ts --selectProjects=test it raises many act warnings making it hard to read the output and figure out the issue. Act warnings are usually caused by testing the UI before the effects are done.

@stirby
Copy link
Collaborator

stirby commented May 31, 2024

Can you add a description @BrunoQuaresma?

@matifali matifali removed the chore label Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site Area: frontend dashboard
Projects
None yet
Development

No branches or pull requests

4 participants