MCPcopy Create free account
hub / github.com/Noumena-Network/code / makeStructuredDiagram

Function makeStructuredDiagram

src/utils/markdown.segmenter.test.ts:7–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5} from './markdown.js'
6
7function 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
25describe('detectPreformattedMarkdownSegments', () => {
26 test('segments mixed prose + diagram + prose losslessly', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected