jest-html reporter not generating result when there are failing test cases

1.3k Views Asked by At

Does not generate index.html/test report when there are failing test cases and includeFailureMsg = true

package.json

    "name": "test",
    "jest": {
            "transform": {},
            "verbose": true,
            "bail": true,
            "testMatch": ["path"],
            "testResultsProcessor": "./node_modules/jest-html-reporter"
       },
        "jest-html-reporter": {
         "pageTitle": "Your test suite",
         "outputPath": "test-report.html",
         "includeFailureMsg": true
   },
    "dependencies": {
            "jest-html-reporter": "^2.3.0"
    }
1

There are 1 best solutions below

0
DevArti On BEST ANSWER

By using jest-stare package.I'm able to resolve my issue, hope it helps to other.