Skip to content

Commit e6d504b

Browse files
thymikeeclaude
andcommitted
ci(vitest): shorten the github-actions reporter comment
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 452e7b5 commit e6d504b

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎vitest.config.ts‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ export default defineConfig({
120120
),
121121
slowTestGateReporter(),
122122
coverageRunStampReporter(COVERAGE_UNINSTRUMENTED_PROJECTS),
123-
// Vitest adds this itself only when no reporters are configured. Without it a failed CI
124-
// step shows only `Process completed with exit code 1` on the check, and the failing test
125-
// name sits after thousands of dots in the step log (#4247).
123+
// Vitest adds this only when no reporters are configured; it puts failing tests on the check.
126124
...(process.env.GITHUB_ACTIONS === 'true'
127125
? [['github-actions', { jobSummary: { enabled: false } }] satisfies [string, object]]
128126
: []),

0 commit comments

Comments
 (0)