Skip to content

Commit 5fbfa0a

Browse files
arbrandesclaude
andcommitted
chore: drop jest-console-group-reporter and stale testURL comment
Reporter was incompatible with Jest 29 and already disabled; also removes an obsolete testURL workaround that is a no-op on modern Jest. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3f51b07 commit 5fbfa0a

3 files changed

Lines changed: 0 additions & 624 deletions

File tree

jest.config.js

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,20 +22,6 @@ const mergedConfig = createConfig('jest', {
2222
testEnvironment: 'jsdom',
2323
});
2424

25-
// delete mergedConfig.testURL;
26-
27-
// NOTE: jest-console-group-reporter@1.1.1 uses @jest/reporters@^30 internally
28-
// (via its peer dep resolution) but this project runs Jest 29, whose globalConfig
29-
// uses testPathPattern (string) not testPathPatterns (object). When any worker
30-
// exits uncleanly the reporter's SummaryReporter.onRunComplete crashes with
31-
// "Cannot read properties of undefined (reading 'isSet')", causing a non-zero
32-
// exit code even when all tests pass. Disabled until the package is updated for
33-
// Jest 29/30 compatibility.
34-
// mergedConfig.reporters = [...(mergedConfig.reporters || []), ["jest-console-group-reporter", {
35-
// afterEachTest: { enable: true, filePaths: false, reportType: "details" },
36-
// afterAllTests: { reportType: "summary", enable: true, filePaths: true },
37-
// }]];
38-
3925
// Limit ts-jest diagnostics to test files so type errors in transformed
4026
// dependencies (included via transformIgnorePatterns) don't fail the run.
4127
mergedConfig.transform['^.+\\.[tj]sx?$'] = [

0 commit comments

Comments
 (0)