Skip to content
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

fix: do not set process.browser globally #250

Merged
merged 3 commits into from
Nov 23, 2023
Merged

Conversation

danielroe
Copy link
Member

@danielroe danielroe commented Nov 22, 2023

resolves #311

The issue here is that we are 'leaking' vitest config into the node context which runs e2e tests. Do you think there's a better way to avoid this, and just use this config for the nuxt environment @antfu?

@danielroe danielroe added the bug Something isn't working label Nov 22, 2023
@danielroe danielroe self-assigned this Nov 22, 2023
@danielroe danielroe merged commit 9cf6449 into main Nov 23, 2023
3 checks passed
@danielroe danielroe deleted the fix/browser-define branch November 23, 2023 14:46
@danielroe danielroe mentioned this pull request Dec 2, 2023
userquin pushed a commit to userquin/test-utils that referenced this pull request Mar 17, 2024
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nuxt-vitest + nuxt test utils not working properly together
1 participant