Branch not covered
droooney opened this issue · 1 comments
droooney commented
ES6 default values are not highlighted when not covered. Example:
const {
a = 2
} = { a: 1 };
Istanbul shows that 1 branch isn't covered (Branches 0/1
). But there's no yellow highlighting (html reports).
Not sure if it's related to babel-istanbul
or to the reporter I use (I use karma-coverage
).
droooney commented
Sorry, it's related to the reporter for sure. Closing this.