// repro.js
/* @flow */
function fn1(arg: number) {};
function fn2({ arg }: { arg: number }) {};
Running flow coverage --color repro.js yields the following output:
/* @flow */
function fn1(arg: number) {};
function fn2({ arg }: { arg: number }) {};
Covered: 75.00% (3 of 4 expressions)
where arg from fn2 is marked as uncovered (red). Is this an issue with coverage or am I missing something?
This does seem like an issue with coverage mishandling destructuring
Any status on this? Just experienced that as well.
Most helpful comment
Any status on this? Just experienced that as well.