(id: string, sessionId: string)
| 38 | } |
| 39 | |
| 40 | function makeSubagentTask(id: string, sessionId: string): AppTask { |
| 41 | return { |
| 42 | id, |
| 43 | sessionId, |
| 44 | kind: 'subagent', |
| 45 | description: 'subagent task', |
| 46 | status: 'running', |
| 47 | createdAt: '2026-01-01T00:00:00.000Z', |
| 48 | }; |
| 49 | } |
| 50 | |
| 51 | describe('reduceAppEvent messageCreated', () => { |
| 52 | it('bumps the session updatedAt so it floats to the top of the sidebar', () => { |