Skip to content

Commit

Permalink
Move @casualbot/jest-sonar-reporter to reporters from `testResult…
Browse files Browse the repository at this point in the history
…sProcessor`
  • Loading branch information
florianduros committed Sep 23, 2024
1 parent 6609598 commit 93c0d90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,10 @@ const config: Config = {
setupFilesAfterEnv: ["<rootDir>/spec/setupTests.ts"],
collectCoverageFrom: ["<rootDir>/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
Expand Down

0 comments on commit 93c0d90

Please sign in to comment.