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
Problem :
The Logo.vue isn't coverage in branch at 100% because there are some missing conditionnals states according to Istanbul.
I check on my project, and get the same strange thing : uncovered line are totally incorrect.
In this example, line 5 at Logo corresponding to html class.
Another example, Todo.vue : uncovered line 120, 126 ... but there are only 73 line in this file :/
Hi @vinayakkulkarni ,
Thanks for your answer.
I try babel-register for babel 6 and change nyc, ava, and babel configuration. But always the same result like i printed before :(
I don't understand why Istanbul detect this line ... a really mystery for me :/
If you have another idea ? Probably a problem of the configuration ? Or maybe i miss something ?
Hi,
When execute
npm run test:unit
, here is the following result :Problem :
The
Logo.vue
isn't coverage in branch at 100% because there are some missing conditionnals states according to Istanbul.I check on my project, and get the same strange thing : uncovered line are totally incorrect.
In this example, line 5 at Logo corresponding to html class.
Another example,
Todo.vue
: uncovered line 120, 126 ... but there are only 73 line in this file :/How to resolve this ?
I try to follow this https://stackoverflow.com/questions/44120502/nyc-coverage-shows-incorrect-line-numbers. But i got this error : Module not found : babel-register
Thanks for your help :)
Thanks for this repository to start with NuxtJs and Ava :)
The text was updated successfully, but these errors were encountered: