MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / renderDetailCase

Function renderDetailCase

packages/server-e2e/src/report.ts:489–494  ·  view source on GitHub ↗
(testCase: RenderCase)

Source from the content-addressed store, hash-verified

487}
488
489function renderDetailCase(testCase: RenderCase): string {
490 return `<section class="detail-case" data-case-details="${escapeHtml(testCase.id)}">
491 <h2 class="detail-case-title">${escapeHtml(testCase.name)}</h2>
492 ${testCase.events.map(renderDetailCard).join('\n')}
493</section>`;
494}
495
496function renderDetailCard(rendered: RenderEvent): string {
497 const detail = eventDetail(rendered.event);

Callers

nothing calls this directly

Calls 1

escapeHtmlFunction · 0.70

Tested by

no test coverage detected