(overrides: Partial<Parameters<typeof getStatusLineActiveLabel>[0]> = {})
| 2 | import { getStatusLineActiveLabel } from './activeLabel.js' |
| 3 | |
| 4 | function makeState(overrides: Partial<Parameters<typeof getStatusLineActiveLabel>[0]> = {}) { |
| 5 | return { |
| 6 | viewingAgentTaskId: undefined, |
| 7 | tasks: {}, |
| 8 | agentNameRegistry: new Map(), |
| 9 | ...overrides, |
| 10 | } |
| 11 | } |
| 12 | |
| 13 | describe('getStatusLineActiveLabel', () => { |
| 14 | it('uses Main for the leader view', () => { |