Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

istanbul don't support vue3. #280

Open
testabcd22 opened this issue Feb 8, 2023 · 4 comments
Open

istanbul don't support vue3. #280

testabcd22 opened this issue Feb 8, 2023 · 4 comments

Comments

@testabcd22
Copy link

the coverage color report of istanbul on vue3 is notmatch the vue source code correctly.

@Mistrain-y-y
Copy link

is there any solution?

@qianhongyang
Copy link

qianhongyang commented May 27, 2024

is there any solution? use <script lang="ts" setup>,The problem is repeated,When the source file may be empty, the coverage data will also have coverage statistics, resulting in rendering errors. May I ask whether this situation is caused by the inconsistency between the parsing of vue3 file and the source file when inserting piles? Hope it can be solved, thank you
image
image

@Mistrain-y-y
Copy link

so sad i think the problem is that when babel-plugin-istanbul get code from .vue file, the code isn't the original code.

@Janeds
Copy link

Janeds commented Aug 20, 2024

想问下这个问题解决了么,我这边也遇到了

is there any solution? use <script lang="ts" setup>,The problem is repeated,When the source file may be empty, the coverage data will also have coverage statistics, resulting in rendering errors. May I ask whether this situation is caused by the inconsistency between the parsing of vue3 file and the source file when inserting piles? Hope it can be solved, thank you image image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants