"istanbul ignore next" over methods of an es6 class
Author: ottesCreated Sep 16, 2015Updated May 8, 2024
Labelsbug
Following example says, that doSomething is not covered, but i guess it should be "ignored"
class Foo {
/* istanbul ignore next */
doSomething () {
return 'something';
}
}if i move the ignore-comment into the method, the return is ignored, but the function is still uncovered
Source: gotwarlost/istanbul