(id: string, content: string)
| 25 | } |
| 26 | |
| 27 | function buildUserMessage(id: string, content: string) { |
| 28 | return normalizeMessage({ |
| 29 | id, |
| 30 | role: 'user', |
| 31 | content, |
| 32 | timestamp: '2026-04-15T12:00:00.000Z', |
| 33 | }) |
| 34 | } |
| 35 | |
| 36 | describe('buildEffectiveChatTranscript', () => { |
| 37 | it('returns the existing transcript when the stream owner is no longer the trailing user', () => { |
no test coverage detected