section 13: Phase 13: Session status from the client type, compaction-dr

This commit is contained in:
Chris Scott committed 2026-11-02 12:01:18 -05:00
1 parent 717536c5a6
commit 2d4abe79e1
21 files changed
+194 -100

No files matched your search

@@ -37,6 +37,14 @@ describe('SessionStatusIndicator background activity', () => {
expect(container).toBeEmptyDOMElement()
})
it('labels a compacting session', () => {
useSessionStatus.getState().setStatus('session-a', { type: 'compact' })
render(<SessionStatusIndicator sessionID="session-a" />)
expect(screen.getByLabelText('Compacting')).toBeInTheDocument()
})
it('renders the braille spinner with a running label for a busy session', () => {
useSessionStatus.getState().setStatus('session-a', { type: 'busy' })