Skip to content

Commit

Permalink
Output html as part of markdown for additional details.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Crabtree committed Oct 16, 2024
1 parent 0ea9b32 commit 9581d6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ const run = () => __awaiter(void 0, void 0, void 0, function* () {
let comment = '';
let summary = (0, html_1.formatTitleHtml)(title);
const testResult = yield (0, results_1.processTestResults)(resultsPath, allowFailedTests);
comment += (0, markdown_1.formatResultMarkdown)(testResult);
comment += (0, markdown_1.formatResultMarkdown)(testResult) + "<br><br><br><br><br>" + (0, html_1.formatResultHtml)(testResult, showFailedTestsOnly, showTestOutput);
summary += (0, html_1.formatResultHtml)(testResult, showFailedTestsOnly, showTestOutput);
if (coveragePath) {
const testCoverage = yield (0, coverage_1.processTestCoverage)(coveragePath, coverageType, coverageThreshold);
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const run = async (): Promise<void> => {
let summary = formatTitleHtml(title);

const testResult = await processTestResults(resultsPath, allowFailedTests);
comment += formatResultMarkdown(testResult);
comment += formatResultMarkdown(testResult) + "<br><br><br><br><br>" + formatResultHtml(testResult, showFailedTestsOnly, showTestOutput);
summary += formatResultHtml(testResult, showFailedTestsOnly, showTestOutput);

if (coveragePath) {
Expand Down

0 comments on commit 9581d6d

Please sign in to comment.