-
-
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 v1.0.0-beta5 browser mode hangs in an infinite reload #4570
Labels
feat: browser
Issues and PRs related to the browser runner
Comments
6 tasks
sheremet-va
added
bug
feat: browser
Issues and PRs related to the browser runner
and removed
pending triage
labels
Nov 22, 2023
6 tasks
6 tasks
I'm getting this issue on all versions from
yarn workspace @scope/package vitest --browser.enabled --browser.name chrome // package/vitest.config.ts
import { defineConfig } from 'vitest/config';
// eslint-disable-next-line import/no-default-export
export default defineConfig({
test: {
include: ['test/specs/path/some-spec.spec.{ts,tsx}'],
},
}); |
@beamery-tomht what about v1.0.0-beta.6? |
Yes, just checked and still happening. I've reverted back to |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
When running the beta-5 release of vitest in browser mode, you can get stuck in an infinite loop if you have an older version of
pretty-format
installed as sibling ofvitest
. See animated gif:Reproduction
Or download this zip:
vitest-infinite-reload.zip
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: