Skip to content

How to get coverage results to work with import.meta.env...? #1824

Answered by jongeyer
jongeyer asked this question in Q&A
Discussion options

You must be logged in to vote

Quick update on this:

  • I tried using the new package @vitest/coverage-c8 but ran into the same problem. ❌
  • I then tried the alternative @vitest/coverage-istanbul and got it to work without any problems ✅
    • Docs need to be updated to make it clearer how to use this option.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sheremet-va
Comment options

Answer selected by jongeyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants