Skip to content

Tests failing when run in parallel #1395

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
dmint789 opened this issue Apr 9, 2025 · 2 comments
Open

Tests failing when run in parallel #1395

dmint789 opened this issue Apr 9, 2025 · 2 comments

Comments

@dmint789
Copy link

dmint789 commented Apr 9, 2025

I'm having an issue with my tests only working when run individually, but not when run together. I have a setup with RTL, Vitest and MSW. When I run a test it works correctly, but when I run a suite with multiple tests, the components get stuck in the loading state, even though I can see that MSW is returning the requested data and the component is receiving it. I should mention I'm on React 19 with Next JS.

I know there are groups for receiving support, but from what I can tell they're not very active (at least based on the Discord).

@Salmanz18
Copy link

I'm also facing the same issue while upgrading the React version from 19.0.0 to 19.1.0.

@dmint789 dmint789 changed the title Tests only successful when run in parallel Tests failing when run in parallel Apr 11, 2025
@dmint789
Copy link
Author

I'm also facing the same issue while upgrading the React version from 19.0.0 to 19.1.0.

I have the same issue on React 19 too

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

No branches or pull requests

2 participants