-
-
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
Rerunning vitest with browser mode no longer works since vitest 1.0.0 #4713
Comments
Interesting! I am not able to reproduce the error with your reproduction (M1 Air). Maybe some kind of race condition? 🤔 |
Oh, wait, I didn't update Vitest there 🤦🏻 |
Looks like this is the PR that caused it: #4623 But the actual error is that inside the provider we close the page, but we don't remove the reference to it. But when we do that, we get another bug 🤷🏻 |
Oops, didn't see this coming up while implementing #4623. @nicojs it might be good idea to add |
Describe the bug
StrykerJS uses the programmatic API. For example:
This works without browser mode and did work in browser mode until
[email protected]
, but no longer in[email protected]
Reproduction
Using this script:
With this config:
I expect (
v1.0.0-beta.6
):But I get (
v1.0.0
andv1.0.2
):See this zip for reproduction: vitest-browser.zip
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: