ctrf-io / cypress-ctrf-json-reporter

A Cypress JSON test results reporter that follows the CTRF schema
https://ctrf.io
MIT License
7 stars 2 forks source link

Bug fix for 'cannot use in' operator to search 'message' in null.' as… #17

Closed Benyon closed 2 months ago

Benyon commented 2 months ago

The error we received was:

TypeError: Cannot use 'in' operator to search for 'message' in null at GenerateCtrfReport.extractFailureDetails (...\node\modulescypress-ctrf-json-reporter\dist\generate-report.js:183:23)

The error property could have been null, which it was in my framework.

Ma11hewThomas commented 2 months ago

Thanks, released in 0.0.10