In the diff
Untested lines, marked where they were written
Each run of changed lines no test executes gets an annotation in the pull request's diff. A changed source file with no coverage data at all gets a marker on the file itself; a changed README, config file or test does not, because it isn't untested code.
Inline annotationsexport function finalize(inv: Invoice) {
const due = inv.lines.reduce(sum, 0);
if (inv.currency !== inv.account.currency) {
const rate = rates.get(inv.account.currency);
inv = convert(inv, rate);
audit.record("converted", inv.id);
}
return seal(inv, due);