douglasduteil / isparta

:skull: A code coverage tool for ES6 (babel/6to5)
Do What The F*ck You Want To Public License
642 stars 47 forks source link

for..of statement has something wrong. #128

Open obbaeiei opened 7 years ago

obbaeiei commented 7 years ago

Hello.

loop();
function loop() {
  const seq = [1, 2, 3, 4, 5];
  for (const s of seq) {
    console.log('s = ', s);
  }
}

This code is missing branch & statement test (got 50% for branches, 76.47% for statement), which is istanbul can get 100%

sorry if i missing something.

Thank you,