From 93c0d90095b53601b020c8096b186146aa2a8538 Mon Sep 17 00:00:00 2001 From: Florian Duros Date: Mon, 23 Sep 2024 16:36:00 +0200 Subject: [PATCH] Move `@casualbot/jest-sonar-reporter` to `reporters` from `testResultsProcessor` --- jest.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jest.config.ts b/jest.config.ts index 1e6833a586d..97e7201efac 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -22,11 +22,10 @@ const config: Config = { setupFilesAfterEnv: ["/spec/setupTests.ts"], collectCoverageFrom: ["/src/**/*.{js,ts}"], coverageReporters: ["text-summary", "lcov"], - testResultsProcessor: "@casualbot/jest-sonar-reporter", // Always print out a summary if there are any failing tests. Normally // a summary is only printed if there are more than 20 test *suites*. - reporters: [["default", { summaryThreshold: 0 }]], + reporters: [["default", { summaryThreshold: 0 }], "@casualbot/jest-sonar-reporter"], }; // if we're running under GHA, enable the GHA reporter