You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minimal reproduction of the problem with instructions
I removed instabul from my list of plugins as advised in order to try to fix wrong code coverage and added mapCoverage: true to my jest config. What happened is : the same line appears as "untested" but also now one of my tests doesn't show up at all in the coverage report. 🤔
The text was updated successfully, but these errors were encountered:
gkatsanos
changed the title
mapCoverage:true in config removes vue from code Coverage report
mapCoverage:true in config removes Component from the code Coverage report + report is false
Oct 28, 2017
gkatsanos
changed the title
mapCoverage:true in config removes Component from the code Coverage report + report is false
mapCoverage:true in config removes Component from the code Coverage report + cov.% is inaccurate
Oct 28, 2017
gkatsanos
changed the title
mapCoverage:true in config removes Component from the code Coverage report + cov.% is inaccurate
mapCoverage:true produces misleading Line in coverage report (wrong sourcemaps)
Oct 28, 2017
By the way, vue-jest works fine. So please maybe either drop this plugin or merge it with vue-jest. Pity for devs to lose time trying to debug this.
I'm submitting a ... (check one with "x")
Current behavior
Report is not 100%
Expected behavior
It should be 100% and I should see two components
Minimal reproduction of the problem with instructions
I removed instabul from my list of plugins as advised in order to try to fix wrong code coverage and added
mapCoverage: true
to my jest config. What happened is : the same line appears as "untested" but also now one of my tests doesn't show up at all in the coverage report. 🤔QuestionList.vue:L19
and it's spec:
Why is L19 of QuestionsList reported as uncovered and why's Question.vue disappearing from the report when Is add
mapCoverage: true
?Here is the missing Question.vue component:
1.3.1
8.4.0
OSX
The text was updated successfully, but these errors were encountered: