mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +01:00
Include group name in error annotations
This commit is contained in:
parent
8dba8714d0
commit
fbb83bff74
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ export function getAnnotations(results: TestRunResult[], maxCount: number): Anno
|
||||||
errors.push({
|
errors.push({
|
||||||
testRunPaths: [tr.path],
|
testRunPaths: [tr.path],
|
||||||
suiteName: ts.name,
|
suiteName: ts.name,
|
||||||
testName: tc.name,
|
testName: tg.name ? `${tg.name} ► ${tc.name}` : tc.name,
|
||||||
details: err.details,
|
details: err.details,
|
||||||
message: err.message ?? getFirstNonEmptyLine(err.details) ?? 'Test failed',
|
message: err.message ?? getFirstNonEmptyLine(err.details) ?? 'Test failed',
|
||||||
path,
|
path,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue