Skip to content
This repository has been archived by the owner on Aug 24, 2019. It is now read-only.

Include line coverage percentage, hopefully #145

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brockboland
Copy link
Contributor

This might fix #144 maybe, who knows

@@ -68,6 +70,11 @@
<span class="den">{{ lines.found }}</span>
</span>
</td>
<td>
<span class="fraction">
<span class="num">{{ lines.hit / lines.found }}</span>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You'll want to use something like https://github.com/vokal/cvr-view/blob/master/routes/commit.js#L85 and have the value available in the view model. Handlebars doesn't support math operations in the views, so you'd need to use a helper if you wanted to do something similar to this form.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature request: coverage percentages per file
2 participants