jest-html reporter не генерирует результат при неудачных тестах

Не генерирует index.html/ тестовый отчет при неудачных тестовых случаях и includeFailureMsg = правда

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"
    }

0 ответов

Используя пакет jest-stare. Я могу решить мою проблему, надеюсь, это поможет другим.

Другие вопросы по тегам