【发布时间】:2018-04-18 11:15:45
【问题描述】:
当有失败的测试用例和includeFailureMsg=true时不生成index.html/test报告
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"
}
【问题讨论】:
标签: windows jestjs jasmine-reporters