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

Code instrumentation with c8 #157

Open
einSelbst opened this issue Feb 8, 2022 · 2 comments
Open

Code instrumentation with c8 #157

einSelbst opened this issue Feb 8, 2022 · 2 comments

Comments

@einSelbst
Copy link

All examples for coverage I could find use babel for code instrumentation. Now with nextjs 12 moving away from babel what would be a good approach to get code coverage working?

@einSelbst
Copy link
Author

einSelbst commented Feb 8, 2022

ok, will try some more with nyc.

@einSelbst einSelbst changed the title Code instrumentation without babel Code instrumentation with c8 Feb 10, 2022
@einSelbst
Copy link
Author

Re-opening this because I can not figure out how to use cypress with c8, which seems to be an interesting option post babel. It makes use of v8 built-in coverage.
https://v8.dev/blog/javascript-code-coverage

If anyone knows how to get this working with cypress I'm thankful for all hints.

@einSelbst einSelbst reopened this Feb 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant