mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-07 07:35:00 +01:00
* 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>