()
| 5 | } from './markdown.js' |
| 6 | |
| 7 | function makeStructuredDiagram(): string { |
| 8 | return [ |
| 9 | 'ncode client ──events──► platform-api ──► OpenTelemetry Collector', |
| 10 | ' │', |
| 11 | '', |
| 12 | ' ────────────────────', |
| 13 | ' │ GCP Cloud Monitoring│', |
| 14 | ' │ (metrics, traces) │', |
| 15 | ' └────────────────────', |
| 16 | ' │', |
| 17 | ' ────────────────────', |
| 18 | ' │ BigQuery (events) │', |
| 19 | ' │ - ncode_* events │', |
| 20 | ' │ - experiment data │', |
| 21 | ' └────────────────────', |
| 22 | ].join('\n') |
| 23 | } |
| 24 | |
| 25 | describe('detectPreformattedMarkdownSegments', () => { |
| 26 | test('segments mixed prose + diagram + prose losslessly', () => { |
no outgoing calls
no test coverage detected