mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01:00
Add stack tracke to summary
This commit is contained in:
parent
a1ac327414
commit
ae8bd195f8
5 changed files with 38 additions and 14 deletions
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
|
|
@ -1025,8 +1025,8 @@ class DotnetTrxParser {
|
|||
error.StackTrace.length === 0) {
|
||||
return undefined;
|
||||
}
|
||||
const message = test.error.Message[0];
|
||||
const stackTrace = test.error.StackTrace[0];
|
||||
const message = `${test.error.Message[0]}\n${stackTrace}`;
|
||||
let path;
|
||||
let line;
|
||||
const src = this.exceptionThrowSource(stackTrace);
|
||||
|
|
@ -1038,7 +1038,7 @@ class DotnetTrxParser {
|
|||
path,
|
||||
line,
|
||||
message,
|
||||
details: `${message}\n${stackTrace}`
|
||||
details: `${message}`
|
||||
};
|
||||
}
|
||||
exceptionThrowSource(stackTrace) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue