-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Vitest browser mode tests do not run when using workspaces #3363
Comments
Start a new pull request in StackBlitz Codeflow. |
👋 Hey, I know this was closed, but I'm still seeing a similar error with
EDIT
This is my browser mode configuration
|
@drewlyton - do you have by any chance a |
@christophe-g thanks for commenting! No, I do not have anything other than media files in my public folder. Also I think #3434 is the same issue (or similar) as mine 👍 |
Describe the bug
I have a monorepo and I am taking advantage of Vitest workspaces. One workspace uses browser mode and another workspace does not. When I run tests from the project root, the normal tests run fine, but the process stalls when the browser tests run. The browser tests never execute and the process hangs indefinitely. However, if I run the tests from the individual workspaces instead of the project root, then the tests always execute and succeed.
Reproduction
Here is a link to a minimal reproduction StackBlitz: https://stackblitz.com/edit/vitest-browser-mode-bug?file=README.md
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: