Coverage issues when using latedt version of @vitejs/plugin-vue #342
Unanswered
roshnimridha04
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
@vitejs/plugin-vue 4.5.2 when used with vitest any versions including latest works fine. While @vitejs/plugin-vue 4.6.0 onwards it shows some coverage issues.
Before the upgrade it was all fine. After upgrade ,for some files its still shows the coverage fine. but for some if I move the script after my template as shown below then it shows correctly else it shows not get covered:
/* v8 ignore start /
my template here
/ v8 ignore stop */
<script setup lang="ts"> //my script here </script>Please let me know why is this happening after the upgrade.
Beta Was this translation helpful? Give feedback.
All reactions