We can direct the tracker to ignore if and else branches. Great.
But these are not the only branch paths.
We need similar switches for try{} catch(e) {} finally {} which count as branch paths.
Basically, the finally block always happens. Statements in it can be handled with /* istanbul ignore next */
The same can be said about the try block.
However - the catch block is conditional - it's not sure to happen, just like the else block.
We need a switch for that.
Thoughts?
is there any way to do this yet?
I just bumped into this too.
+1
mmm! I'm alive :)
any input from the repo-owner?
@gotwarlost - would you like a PR? I can try help if we could agree on a direction
Most helpful comment
mmm! I'm alive :)
any input from the repo-owner?
@gotwarlost - would you like a PR? I can try help if we could agree on a direction