mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-15 13:57:09 +01:00
Fix formatting of the code
This commit is contained in:
parent
521e122f40
commit
21ae91ed3c
1 changed files with 3 additions and 5 deletions
|
|
@ -137,13 +137,11 @@ export class JavaJunitParser implements TestParser {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
let message
|
||||
if(typeof failure === 'object') {
|
||||
if (typeof failure === 'object') {
|
||||
message = failure.$.message
|
||||
if(failure.$?.type) {
|
||||
message = failure.$.type + ": "+ message
|
||||
if (failure.$?.type) {
|
||||
message = failure.$.type + ': ' + message
|
||||
}
|
||||
}
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue