From 9d4414791969667c04ca5daf9d0e108d0c287b51 Mon Sep 17 00:00:00 2001 From: Edoardo Pirovano Date: Wed, 14 Aug 2024 11:56:25 +0100 Subject: [PATCH] Fix PR comments formatting --- src/actions/main/utils/results-reporter.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/actions/main/utils/results-reporter.ts b/src/actions/main/utils/results-reporter.ts index 066e01c..c32e9b4 100644 --- a/src/actions/main/utils/results-reporter.ts +++ b/src/actions/main/utils/results-reporter.ts @@ -152,13 +152,13 @@ export class ResultsReporter { coverageLine += "\n\n"; const coverageLink = `${testRun.url}/coverage?mode=pr`; if (executableLinesEditedAndCovered === 0) { - coverageLine += `Meticulous tested none of the executable lines edited in this PR. If this PR does not modify your frontend this is expected. If this is a new feature or Meticulous was recently introduced then Meticulous will generate tests to cover your code in the coming days[1].`; + coverageLine += `Meticulous tested none of the executable lines edited in this PR. If this PR does not modify your frontend this is expected. If this is a new feature or Meticulous was recently introduced then Meticulous will generate tests to cover your code in the coming days1.\n\n`; coverageLine += - "[^1]:\n1. If you wish to increase coverage immediately you can do so by interacting with your feature on localhost."; + "\n1. If you wish to increase coverage immediately you can do so by interacting with your feature on localhost."; } else if (notTested > 0) { coverageLine += `Meticulous tested [${executableLinesEditedAndCovered}/${executableLinesEdited} of the executable lines](${coverageLink}) edited in this PR1.\n\n`; coverageLine += - "[^1]:\n1. These lines will likely automatically gain test coverage over the coming days, however if you wish to increase coverage immediately you can do so by interacting with your feature on localhost."; + "\n1. These lines will likely automatically gain test coverage over the coming days, however if you wish to increase coverage immediately you can do so by interacting with your feature on localhost."; } else { coverageLine += `Meticulous tested [100% of the executable lines](${coverageLink}) edited in this PR.`; }