Skip to content

Commit 73e1ccd

Browse files
committed
update session heading
1 parent c612f06 commit 73e1ccd

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/testResultsSummary.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ export function addSummary(
208208
if (testResultsData.TestSessions.length > 1) {
209209
// Add session header with stats
210210
core.summary
211-
.addHeading(`Test Session (Session ${i + 1})`, 3)
211+
.addHeading(`Test Session ${i + 1}`, 3)
212212
.addRaw(getTestHeader(session.Stats), true);
213213
}
214214

src/testResultsSummary.unit.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,13 +491,13 @@ describe("Multiple Sessions Tests", () => {
491491
);
492492
expect(core.summary.addHeading).toHaveBeenNthCalledWith(
493493
2,
494-
"Test Session (Session 1)",
494+
"Test Session 1",
495495
3,
496496
);
497497
expect(core.summary.addHeading).toHaveBeenNthCalledWith(3, "All tests", 4);
498498
expect(core.summary.addHeading).toHaveBeenNthCalledWith(
499499
4,
500-
"Test Session (Session 2)",
500+
"Test Session 2",
501501
3,
502502
);
503503
expect(core.summary.addHeading).toHaveBeenNthCalledWith(5, "All tests", 4);

0 commit comments

Comments
 (0)