Repository navigation
test: remove 988 low-value tests - #39797
Conversation
Walkthrough
Pre-merge checks:
|
…ing layout suite Upstream's test purge (stablyai#39797) deleted keybindings-terminal-context.test.ts, which held this PR's two regression pins. Both move verbatim into the surviving layout suite so the terminal-first coverage still fails without the fix. Generated-by: GLM-5.3-Flash (ZCode)
ELI5
Remove 988 low-value test definitions so the suite spends less time checking implementation details and duplicated expectations. Retain 1,180 definitions in the reviewed sources.
What Changed
Why
These tests primarily repeat helper logic, inspect private bookkeeping, assert mocked wiring, or duplicate stronger boundary coverage. Removing them deliberately reduces regression coverage for those details and reduces maintenance cost.
Linked Issue
Maintainer-requested test-suite maintenance; no linked issue.
Visual Proof
N/A — test/support and coverage-metadata changes only; no product UI or interaction changes. Electron tests ran on an isolated Linux display; no local pixel-inspection claim.
Testing
pnpm check:changed --base=ee6506714e823c7112dbfb366507d84d2abb2735 --maxWorkers=2passed.Review
Independent source and metadata review accepted the final head. Risk: intentionally lost coverage of the removed behavior; revert the removal commit if a deleted boundary proves necessary. No replacement low-value tests added.
Agent skill upstream boundary
Notes
No production behavior or dependency changes. Cross-platform, remote, mobile and folder-workspace impacts considered through the retained tests and unchanged product code. This is one combined audit batch; the comprehensive audit remains ongoing.
Checklist