(uuid?: string)
| 36 | } |
| 37 | |
| 38 | function createProgressMessage(uuid?: string): any { |
| 39 | return { |
| 40 | type: 'progress', |
| 41 | uuid: uuid ?? randomUUID(), |
| 42 | timestamp: new Date().toISOString(), |
| 43 | parentToolUseID: 'parent-1', |
| 44 | toolUseID: 'tool-1', |
| 45 | data: { type: 'bash_progress', elapsedTimeSeconds: 1, taskId: 't1' }, |
| 46 | message: { content: [] }, |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | beforeEach(() => { |
| 51 | process.env.USER_TYPE = 'noumena' |
no test coverage detected