Cobertura and lcov reporters not found #7162
-
hi folks! i did a bit of research and found lots of occasions where people use "cobertura" and "lcov" as if they were built-in reporters (see here or here). i couldn't find any reference to them in any vitest repos, and if i use them locally i get
if i look into node_modules/vitest, i can find this interface:
which makes it even more confusing for me. i also couldn't find an npm package or anything similar. am i blind? what am i missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Coverage reporters are specified in export default defineConfig({
test: {
- reporters: ['lcov'],
+ coverage: {
+ reporter: ['lcov'],
+ },
},
}) |
Beta Was this translation helpful? Give feedback.
Coverage reporters are specified in
coverage.reporter
, notreporters
: