Skip to content

Add DiffPane windowing integration coverage#72

Merged
benvinegar merged 1 commit intomainfrom
test/diffpane-windowing-integration
Mar 23, 2026
Merged

Add DiffPane windowing integration coverage#72
benvinegar merged 1 commit intomainfrom
test/diffpane-windowing-integration

Conversation

@benvinegar
Copy link
Copy Markdown
Member

Summary

  • add pane-level integration coverage for DiffPane auto-scrolling in the windowed no-wrap/no-note path
  • cover selecting a later file after earlier sections are reserved offscreen
  • cover selecting a later hunk with hidden hunk headers to verify scroll targeting

Why

The helper-level render-plan and section-metrics tests are in place, but the remaining risk sits at the DiffPane integration boundary where windowing, placeholder heights, and selected-hunk scroll math come together.

These tests lock down the user-visible behavior without relying on brittle low-level implementation assertions.

Testing

  • bun run typecheck
  • bun test

@benvinegar benvinegar merged commit 54df576 into main Mar 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant