Files
vscode/.github
Sandeep SomavarapuandCopilot efdf2c0238 test: comprehensive unit tests for single-pane layout strategies (#324707)
* test: add comprehensive unit tests for single-pane layout strategies

Add singlePaneStrategies.test.ts covering each composed single-pane
strategy in isolation (NewSessionRules, QuickChatEditorHide,
DetailVisibility, DetailPanel, ManagedTabs, EditorAreaCollapse,
ResponsiveSidebar) via a hand-built ISinglePaneLayoutContext backed by
the shared test harness. Focuses on the bug-prone edges surfaced during
the refactor: intrinsic submit detection, D3c leave-as-is with no saved
state, empty-group Preserve during restore, R1 editor re-hide, managed
tab dismissal memory, and responsive sidebar auto-hide/restore.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* test: drop unused restoreCalls scaffolding from strategy test context

Address CCR feedback: the restoreCalls field was never read or asserted.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-11 09:59:34 +02:00
..
2026-07-23 18:15:53 +00:00