C8 Annotations
V8 Coverage provider annotations are similar as Istanbul.
Ignoring the next line
Unlike istanbul, this annotation only ignores one line.
Ignoring the next N lines
Ignoring all lines until told
/* c8 ignore else */
is only working without else statement:
So when you have an else statement should proceed as follow:
Another little difference with this is, c8 marks it in the coverage report when istanbul doesn't.
Ignoring a block on the current line
This is useful when you want to ignore else statement for example.
Last updated