feat: parse junit report with message

This commit is contained in:
Connor Monaghan 2025-03-11 18:11:28 +10:00
parent 41662db5ca
commit 70db77d88c
5 changed files with 78 additions and 1 deletions

View file

@ -85,7 +85,7 @@ export class JestJunitParser implements TestParser {
return undefined
}
const details = tc.failure[0]
const details = typeof tc.failure[0] === 'string' ? tc.failure[0] : tc.failure[0]['_']
let path
let line