mirror of
https://github.com/dorny/test-reporter.git
synced 2025-12-16 22:37: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
|
let message
|
||||||
if(typeof failure === 'object') {
|
if (typeof failure === 'object') {
|
||||||
message = failure.$.message
|
message = failure.$.message
|
||||||
if(failure.$?.type) {
|
if (failure.$?.type) {
|
||||||
message = failure.$.type + ": "+ message
|
message = failure.$.type + ': ' + message
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return {
|
return {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue