diff --git a/api/package.json b/api/package.json index ae4c47e..28f181e 100644 --- a/api/package.json +++ b/api/package.json @@ -59,6 +59,7 @@ "eslint": "^8.3.0", "http": "^0.0.1-security", "jest": "^29.7.0", + "jest-html-reporter": "^3.10.2", "mocha": "^9.1.3", "mongodb-memory-server": "^9.2.0", "npm-run-all": "^4.1.5", @@ -76,6 +77,12 @@ "testEnvironment": "node", "setupFilesAfterEnv": [ "./tests/_setupFile.ts" + ], + "reporters": [ + "default", + ["./node_modules/jest-html-reporter", { + "pageTitle": "Test Report" + }] ] } }