Skip to content

Commit

Permalink
Include group name in error annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Dorner committed Feb 24, 2021
1 parent 8dba871 commit fbb83bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/report/get-annotations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ export function getAnnotations(results: TestRunResult[], maxCount: number): Anno
errors.push({
testRunPaths: [tr.path],
suiteName: ts.name,
testName: tc.name,
testName: tg.name ? `${tg.name}${tc.name}` : tc.name,
details: err.details,
message: err.message ?? getFirstNonEmptyLine(err.details) ?? 'Test failed',
path,
Expand Down

0 comments on commit fbb83bf

Please sign in to comment.