Open coder-mike opened 1 month ago
This is kind of a limitation of V8's coverage format. Under the hood we use v8-to-istanbul, but I plan to do away with that. I'm thinking of doing some AST smartness with that refactoring in order to accurately identify branches.
Should the 100% value be green?
I'm unable to see any branch coverage in the "test coverage" pane. I only see statement and function coverage.
I've created a minimal example to reproduce this.
I click "run tests with coverage" in the testing panel.
The coverage breakdown doesn't show branches:
If I hover over it, it says "0/0" branches covered: