Я использую Jest для тестирования API.Я генерирую отчет html, используя jest-html-reporter, но мне нужно изменить отчет на allure.Как я могу настроить файл package.json для создания привлекательного отчета?Я использую только package.json и не использую другие файлы конфигурации.
package.json
{
"name": "reatapitesting",
"version": "1.0.0",
"description": "Ecommerce Testing Library",
"main": "index.js",
"directories": {
"test": "test -verbose"
},
"repository": {
"type": "git",
"url": "https://git.techardors.com/pradeep/ecomm_testing.git"
},
"keywords": [
"Ecommerce",
"API",
"Testing"
],
"author": "TA-Testing Team",
"license": "ISC",
"scripts": {
"test": "jest --testResultsProcessor=jest-html-reporter"
},
"jest": {
"verbose": true,
"testResultsProcessor": "jest-html-reporter"
},
"jest-html-reporter": {
"pageTitle": "Your test suite",
"outputPath": "./src/test-report.html",
"includeFailureMsg": false
},
"dependencies": {
"bson": "^4.0.2",
"jest": "^24.8.0",
"jest-allure": "^0.1.1",
"jest-html-reporter": "^2.5.0",
"supertest": "^4.0.2"
}
}