(message: string)
| 64 | |
| 65 | // Helper to create error stream chunks |
| 66 | function createErrorChunks(message: string): Array<StreamChunk> { |
| 67 | return [ |
| 68 | { type: 'RUN_STARTED', runId: 'run-1', timestamp: Date.now() }, |
| 69 | { |
| 70 | type: 'RUN_ERROR', |
| 71 | runId: 'run-1', |
| 72 | error: { message }, |
| 73 | timestamp: Date.now(), |
| 74 | }, |
| 75 | ] as unknown as Array<StreamChunk> |
| 76 | } |
| 77 | |
| 78 | /** |
| 79 | * Renders a Vue composable inside a minimal defineComponent wrapper. |
no test coverage detected