gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 786 forks source link

is it possible to apply the effect from /* istanbul ignore next */ to all typescript private methods automagically? #937

Open robbiemu opened 3 years ago

robbiemu commented 3 years ago

this is q question regarding jest (in a typescript environment). I can manually go back and decorate all my private methods one by one .. or, it would be sweet if I could just set something like ignoreFunctionsByType: ['private']