<template>
line is shown as not covered if v-if
used in component (4.6+, 5.0+)
#368
Open
8 of 9 tasks
Labels
bug
Something isn't working
Related plugins
Describe the bug
In 4.5.2 and below components with
v-if
would have 100% test coverage, now with 4.6.0 and above they will report the first line of the Vue component (<template>
) as not being covered in tests.I've made the min-repro as simple as possible, it boils down to this:
Example:
Reproduction
https://github.com/TheJaredWilcurt/vite-plugin-vue-min-repro
Steps to reproduce
npm install
npm t
System Info
Tested on Node 20 and 21, Ubuntu 22.04 LTS and also GHA.
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: