Skip to content

TypeError: Cannot read properties of undefined (reading 'split') #661

@kirillkovalenko

Description

@kirillkovalenko

I'm having an error processing Pester generated junit files.

Usage:

      - name: Publish Pester Test Reports
        if: ${{ !cancelled() }}
        uses: dorny/[email protected]
        with:
          name: pester-${{ matrix.VARIANT }}-${{ env.version }}
          path: Tests/Result/Pester/*.xml
          reporter: jest-junit
          list-suites: 'failed'
          list-tests: 'failed'

Logs:

Using test report parser 'jest-junit'
Creating test report pester-25-2.19.5315.1236
  Processing test results for check run pester-25-2.19.5315.1236
  Error: Processing test results from Tests/Result/Pester/Disable-NfcAnswerToReset.tests.xml failed
Error: TypeError: Cannot read properties of undefined (reading 'split')

The file in question: Disable-NfcAnswerToReset.tests.xml

Metadata

Metadata

Labels

bugSomething isn't workinghelp wantedExtra attention is needed

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions