From fa250154720fb6f9e47b0a4cb68889e3477f776a Mon Sep 17 00:00:00 2001 From: Filip Rojek Date: Sun, 12 May 2024 20:02:35 +0200 Subject: [PATCH] Added: package jest-html-reporter --- api/package.json | 7 +++++++ 1 file changed, 7 insertions(+) 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" + }] ] } }