Skip to content

Commit

Permalink
Fix wrong location of hadCoverageData
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardopirovano committed Aug 14, 2024
1 parent 3cf9156 commit 3ac3a38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actions/main/utils/results-reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export class ResultsReporter {
if (
executableLinesEdited &&
executableLinesEditedAndCovered !== undefined &&
testRun.coverageInfo?.hadCoverageData
testRun.coverageInfo?.editedFileCoverage?.hadCoverageData
) {
const notTested = executableLinesEdited - executableLinesEditedAndCovered;
coverageLine += "\n\n";
Expand Down

0 comments on commit 3ac3a38

Please sign in to comment.