Skip to content

Commit

Permalink
fix: docblock rendering in description
Browse files Browse the repository at this point in the history
  • Loading branch information
noomorph committed Feb 21, 2024
1 parent 40ca1b4 commit a8c5c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builtin-plugins/docblock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function mergeIntoTestItem(
const [left, right, ...rest] = metadata.sourceCode.split(rawDocblock);
const leftTrimmed = left.trimEnd();
const replacement = shouldLeaveComments
? `/* ${comments.trimStart()} */\n`
? `/** ${comments.trimStart()} */\n`
: '\n';
const joined = right ? [leftTrimmed, right].join(replacement) : leftTrimmed;
metadata.sourceCode = [joined, ...rest].join('\n');
Expand Down

0 comments on commit a8c5c5f

Please # to comment.