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

Function makeLargeCode

src/components/HighlightedCode/renderPlan.test.ts:7–13  ·  view source on GitHub ↗
(lineCount = 64)

Source from the content-addressed store, hash-verified

5} from './renderPlan.js'
6
7function makeLargeCode(lineCount = 64): string {
8 return Array.from(
9 { length: lineCount },
10 (_, line) =>
11 `export const value_${line.toString(36).padStart(2, '0')} = '${`${line}`.padEnd(48, 'x')}';`,
12 ).join('\n')
13}
14
15describe('HighlightedCode render plan cache', () => {
16 beforeEach(() => {

Callers 1

renderPlan.test.tsFile · 0.85

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected