fix: correctly print number of interrupted tests in markdown (#28228)

This commit is contained in:
Yury Semikhatsky 2023-11-17 16:53:36 -08:00 committed by GitHub
parent 62d4c3fe02
commit 34c8516d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ class MarkdownReporter extends BaseReporter {
}
if (summary.interrupted.length) {
lines.push(`<details>`);
lines.push(`<summary><b>${summary.flaky.length} interrupted</b></summary>`);
lines.push(`<summary><b>${summary.interrupted.length} interrupted</b></summary>`);
this._printTestList(':warning:', summary.interrupted, lines, ' <br/>');
lines.push(`</details>`);
lines.push(``);