Difference between statement and line coverage in jest
if you have a line of code that says var x= 10; console.log(x); that’s one line and 2 statements. Statement coverage has each statement in the program been executed. Line coverage has each executable line in the source file been executed.