mirror of
https://github.com/dorny/test-reporter.git
synced 2026-02-05 04:25:23 -08:00
Rebuild release index.js file
This commit is contained in:
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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user