You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please use the template provided below, when reporting bugs:
Expected Behavior
This coverage report has a missing line of coverage. In fact, it's only the trailing semi-colon
that get's reported as having been skipped. This is after the reversing of a source-map to TypeScript.
Unsure this is a problem with nyc, istanbul or the sourcemap reverse mapping.
You're correct, looks like it's a missing single branch (the semicolon) rather than the line itself.
The problem appears to be as follows:
_this=_super.call(this,msg)||this;
typescript represents a call to super() like so ☝️, so || this will never execute. @DanielRosenwasser any thoughts on this subject? It would be nice for folks to be able to collect coverage for this scenario -- is there another way the above logic could be implemented, such that coverage is possible?
Please use the template provided below, when reporting bugs:
Expected Behavior
This coverage report has a missing line of coverage. In fact, it's only the trailing semi-colon
that get's reported as having been skipped. This is after the reversing of a source-map to TypeScript.
Unsure this is a problem with nyc, istanbul or the sourcemap reverse mapping.
Observed Behavior
https://coveralls.io/builds/14286562/source?filename=src%2Findex.ts#L20
Bonus Points! Code (or Repository) that Reproduces Issue
Navigate to
coverage/index.ts.html
to see the issue.Forensic Information
Operating System: the operating system you observed the issue on.
Similar issue observed on OSX and ubuntu.
Environment Information: information about your project's environment, see instructions below:
sh -c 'node --version; npm --version; npm ls' > output.txt
https://gist.github.com/sramam/3d7543fb7444f2f95ec05a2abc4770ef
The text was updated successfully, but these errors were encountered: