[Nx Plugin] Configure Vitest to use istanbul coverage by default #23026
yann-combarnous
started this conversation in
General
Replies: 1 comment
-
Assuming you are using nx g @nx/react:app myapp --unitTestRunner=none
nx g @nx/vite:vitest --project=myapp --coverageProvider=istanbul |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use @nx/react with unitTestRunner set to
vitest
. How do I set default code coverage provider toistanbul
? Based on https://nx.dev/nx-api/vite/generators/vitest, this is an option from Vitest generator, but not sure where to add it innx.json
Beta Was this translation helpful? Give feedback.
All reactions