(marker: string)
| 65 | /** A tall, distinctive artifact — the same shape the main artifacts scenario |
| 66 | * uses, so the fill-mode sizing under test here is the real one. */ |
| 67 | const artifactSource = (marker: string) => ` |
| 68 | function App() { |
| 69 | return ( |
| 70 | <div className="flex h-full flex-col gap-4"> |
| 71 | <div data-testid="artifact-header" className="shrink-0"> |
| 72 | <h2>Loading Surface</h2> |
| 73 | <p data-testid="artifact-marker">${marker}</p> |
| 74 | </div> |
| 75 | <div data-testid="artifact-scroll" className="min-h-0 flex-1 overflow-auto"> |
| 76 | {Array.from({ length: 30 }, (_, i) => ( |
| 77 | <p key={i} data-testid={"artifact-row-" + i} style={{ height: 28 }}> |
| 78 | Row {i + 1}: ${marker} |
| 79 | </p> |
| 80 | ))} |
| 81 | </div> |
| 82 | </div> |
| 83 | ); |
| 84 | } |
| 85 | `; |
| 86 | |
| 87 | const structuredOf = (result: { readonly raw: unknown }): Record<string, unknown> => |
| 88 | ((result.raw as { structuredContent?: Record<string, unknown> }).structuredContent ?? |
no outgoing calls
no test coverage detected