mirror of
https://github.com/dorny/test-reporter.git
synced 2026-03-22 07:52:14 +01:00
Modernize ESLint configuration
This commit is contained in:
parent
393efa337c
commit
eed2d2d031
8 changed files with 86 additions and 121 deletions
|
|
@ -199,7 +199,7 @@ export class NetteTesterJunitParser implements TestParser {
|
|||
|
||||
const failure = failures[0]
|
||||
// For Nette Tester, details are in the message attribute, not as inner text
|
||||
const details = typeof failure === 'string' ? failure : failure._ ?? failure.$?.message ?? ''
|
||||
const details = typeof failure === 'string' ? failure : (failure._ ?? failure.$?.message ?? '')
|
||||
|
||||
// Try to extract file path and line from error details
|
||||
let errorFilePath: string | undefined
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue