-
-
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
fix(coverage): istanbul provider to work with JSDOM and process.env
usage
#3899
Conversation
Run & review this pull request in StackBlitz Codeflow. |
✅ Deploy Preview for fastidious-cascaron-4ded94 canceled.
|
Vite has a guide for these cases: https://vitejs.dev/guide/env-and-mode.html#production-replacement
Instead of replacing the This PR is now verifying that Node specific |
9358a50
to
7b5f36c
Compare
I feel like we need a more general solution. |
Implemented it here: #3957 |
#3957 looks a lot more reliable than this one. I'll convert this into |
7b5f36c
to
fd4e773
Compare
Browser tests are still failing with |
Interesting. Browser has a separate server so it's not affected by hijacking (and shouldn't be). |
Yes, it is transformed and it breaks the inline source maps where Any ideas how this should be handled in browser environment? |
Linked issue is closed, should we lose this one? 🤔 |
Yep, let's close this old PR. No one has reported issues with JSDOM so far. |
Description
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
pnpm-lock.yaml
unless you introduce a new test example.Tests
pnpm test:ci
.Documentation
pnpm run docs
command.Changesets
feat:
,fix:
,perf:
,docs:
, orchore:
.