Skip to content

Commit e42aa76

Browse files
committed
Move @casualbot/jest-sonar-reporter to reporters from testResultsProcessor
1 parent 6609598 commit e42aa76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jest.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,10 @@ const config: Config = {
2222
setupFilesAfterEnv: ["<rootDir>/spec/setupTests.ts"],
2323
collectCoverageFrom: ["<rootDir>/src/**/*.{js,ts}"],
2424
coverageReporters: ["text-summary", "lcov"],
25-
testResultsProcessor: "@casualbot/jest-sonar-reporter",
2625

2726
// Always print out a summary if there are any failing tests. Normally
2827
// a summary is only printed if there are more than 20 test *suites*.
29-
reporters: [["default", { summaryThreshold: 0 }]],
28+
reporters: [["default", { summaryThreshold: 0 }], "@casualbot/jest-sonar-reporter"],
3029
};
3130

3231
// if we're running under GHA, enable the GHA reporter
@@ -35,6 +34,7 @@ if (env["GITHUB_ACTIONS"] !== undefined) {
3534
["github-actions", { silent: false }],
3635
// as above: always show a summary if there were any failing tests.
3736
["summary", { summaryThreshold: 0 }],
37+
"@casualbot/jest-sonar-reporter",
3838
];
3939

4040
// if we're running against the develop branch, also enable the slow test reporter

0 commit comments

Comments
 (0)