diff --git a/API-Project/package.json b/API-Project/package.json index 958f36b..f839064 100644 --- a/API-Project/package.json +++ b/API-Project/package.json @@ -38,10 +38,16 @@ "jest": { "testResultsProcessor": "jest-sonar-reporter", "preset": "ts-jest", - "testMatch": ["/tests/**/*.spec.ts"] - }, - "jestSonar": { - "reportPath": "./reports", - "reportFile": "report.test.xml" + "testMatch": ["/tests/**/*.spec.ts"], + "reporters": [ + "default", + [ + "jest-sonar-reporter", + { + "outputDirectory": "./reports", + "outputName": "report.test.xml" + } + ] + ] } }