mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 06:17:10 +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';
|
return 'success';
|
||||||
}
|
}
|
||||||
getTestCaseError(tc) {
|
getTestCaseError(tc) {
|
||||||
var _a;
|
var _a, _b;
|
||||||
if (!this.options.parseErrors) {
|
if (!this.options.parseErrors) {
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
@ -1198,11 +1198,18 @@ class JavaJunitParser {
|
||||||
line = src.line;
|
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 {
|
return {
|
||||||
path: filePath,
|
path: filePath,
|
||||||
line,
|
line,
|
||||||
details,
|
details,
|
||||||
message: typeof failure === 'object' ? failure.message : undefined
|
message
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
exceptionThrowSource(stackTrace) {
|
exceptionThrowSource(stackTrace) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue