Added: package jest-html-reporter

This commit is contained in:
Filip Rojek 2024-05-12 20:02:35 +02:00
parent cebb0481bc
commit 2ca7999055

View File

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