mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 22:07:09 +01:00
Rebuild release index.js file
This commit is contained in:
parent
21ae91ed3c
commit
06ae02969c
1 changed files with 9 additions and 2 deletions
11
dist/index.js
generated
vendored
11
dist/index.js
generated
vendored
|
|
@ -1178,7 +1178,7 @@ class JavaJunitParser {
|
|||
return 'success';
|
||||
}
|
||||
getTestCaseError(tc) {
|
||||
var _a;
|
||||
var _a, _b;
|
||||
if (!this.options.parseErrors) {
|
||||
return undefined;
|
||||
}
|
||||
|
|
@ -1198,11 +1198,18 @@ class JavaJunitParser {
|
|||
line = src.line;
|
||||
}
|
||||
}
|
||||
let message;
|
||||
if (typeof failure === 'object') {
|
||||
message = failure.$.message;
|
||||
if ((_b = failure.$) === null || _b === void 0 ? void 0 : _b.type) {
|
||||
message = failure.$.type + ': ' + message;
|
||||
}
|
||||
}
|
||||
return {
|
||||
path: filePath,
|
||||
line,
|
||||
details,
|
||||
message: typeof failure === 'object' ? failure.message : undefined
|
||||
message
|
||||
};
|
||||
}
|
||||
exceptionThrowSource(stackTrace) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue