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

Is is it possible to collect coverage with vitest-environment-miniflare? #750

Closed
sirganya opened this issue Dec 15, 2023 · 2 comments
Closed

Comments

@sirganya
Copy link

Currently I end up with 0% coverage over all files.

@Szebu
Copy link

Szebu commented Jul 7, 2024

Yes

@petebacondarwin
Copy link

We have a new approach to Vitest testing: @cloudflare/vitest-pool-workers, which supports basic istanbul based instrumented code coverage. There are issues with getting native coverage working though. See cloudflare/workers-sdk#5266
Closing this issue as future work with be focussed on improving the new approach.

@petebacondarwin petebacondarwin closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

3 participants