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

Function makeLargeCodeFence

src/components/Markdown.test.ts:9–15  ·  view source on GitHub ↗
(lineCount = 40)

Source from the content-addressed store, hash-verified

7import { applyMarkdown, repairMalformedPipeTables } from '../utils/markdown.js'
8
9function makeLargeCodeFence(lineCount = 40): string {
10 const lines = Array.from({ length: lineCount }, (_, index) => {
11 return `export const value_${index.toString().padStart(2, '0')} = '${`${index}`.padEnd(72, 'x')}';`
12 })
13
14 return ['assistant summary', '', '```ts', ...lines, '```'].join('\n')
15}
16
17function makeStructuredDiagram(): string {
18 return [

Callers 1

Markdown.test.tsFile · 0.85

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected