From 3ac3a38ca52e7293513905ca58b142fff3ea6e46 Mon Sep 17 00:00:00 2001 From: Edoardo Pirovano Date: Wed, 14 Aug 2024 10:45:41 +0100 Subject: [PATCH] Fix wrong location of hadCoverageData --- src/actions/main/utils/results-reporter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/actions/main/utils/results-reporter.ts b/src/actions/main/utils/results-reporter.ts index 23ffa73..066e01c 100644 --- a/src/actions/main/utils/results-reporter.ts +++ b/src/actions/main/utils/results-reporter.ts @@ -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";