Skip to content

Commit

Permalink
fix: Support html markdown for TestNG output (#1346)
Browse files Browse the repository at this point in the history
Signed-off-by: sheche <[email protected]>
  • Loading branch information
jdneo authored Dec 17, 2021
1 parent 65639c0 commit 3af663f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/runners/testngRunner/TestNGRunnerResultAnalyzer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ export class TestNGRunnerResultAnalyzer extends RunnerResultAnalyzer {
if (outputData.attributes.trace) {
const markdownTrace: MarkdownString = new MarkdownString();
markdownTrace.isTrusted = true;
markdownTrace.supportHtml = true;

for (const line of outputData.attributes.trace.split(/\r?\n/)) {
this.processStackTrace(line, markdownTrace, undefined, this.currentItem, this.projectName);
Expand Down

0 comments on commit 3af663f

Please sign in to comment.