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.
However, only the first line return connectionsGroup.append('line') is considered as covered (indicated by the 1x) at the beginning of the line, as seen below:
This of course reduces the overall overage of my code a lot. Is there any way to make Istanbul consider these chained executions properly?
Hi,
I have the following code
However, only the first line
return connectionsGroup.append('line')
is considered as covered (indicated by the1x
) at the beginning of the line, as seen below:This of course reduces the overall overage of my code a lot. Is there any way to make Istanbul consider these chained executions properly?