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.
In the below function, all lines are highlighted in red, however, the left margin shows green and that the code has been executed. I can manually confirm that those lines ARE called in my tests.
In the below function, all lines are highlighted in red, however, the left margin shows green and that the code has been executed. I can manually confirm that those lines ARE called in my tests.