@vitejs/plugin-vue 4.6.0 onwards do not work with vitest. #341
Closed
roshnimridha04
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
@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