jest-html 报告者在测试用例失败时不生成结果
jest-html reporter not generating result when there are failing test cases
不生成索引。html/test 测试用例失败且 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"
}
通过开玩笑package.I可以解决我的问题,希望对其他人有帮助。
不生成索引。html/test 测试用例失败且 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"
}
通过开玩笑package.I可以解决我的问题,希望对其他人有帮助。