-
-
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
cannot run tests without opening broken dev server #4052
Comments
I'm having the same problem. |
Same issue here!! We are blocked from upgrading because of this. |
Same here ! |
Same here after upgrading from |
I'm wondering if this problem is limited to Windows. i'm using macos and it doesn't happen. |
I'm using Windows; though, when I run this though a pipeline, the same error happens because it tries to open a browser during the pipeline run. We use RedHat Linux images. |
Chiming in that this impacts me locally on MacOS as well as CI running Linux. Here's a portion of my
|
@fh-igor-serko thank you for investigating: so a quick-and-dirty-fix for the old behaviour is:
or in your case
|
Thanks, guys, I was able to successfully reproduce the issue, and I'm currently working on a solution. I'll be submitting a PR to fix the issue soon |
Describe the bug
After upgrading from vitest
^0.33.0
to^0.34.3
when running any tests the dev server now opens, and in that dev server that is opened it fails to load the files.Have tried setting the vite config to have test.open to false but still opens (which shows as default of true in the typedef file but false in https://vitest.dev/config/#open)
Reproduction
https://codesandbox.io/p/sandbox/gallant-ptolemy-fjnjwr
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: