(lines: SourceLine[], fenceStartIndex: number, startLine: number)
| 164 | } |
| 165 | |
| 166 | function readCodeFence(lines: SourceLine[], fenceStartIndex: number, startLine: number): CodeFence { |
| 167 | let lineCount = 0; |
| 168 | |
| 169 | for (let index = fenceStartIndex + 1; index < lines.length; index++) { |
| 170 | const line = lines[index]; |
| 171 | |
| 172 | if (!line || line.text.trimStart().startsWith("```")) { |
| 173 | break; |
| 174 | } |
| 175 | |
| 176 | lineCount += 1; |
| 177 | } |
| 178 | |
| 179 | return { startLine, lineCount }; |
| 180 | } |
| 181 | |
| 182 | function assertExpectedTabLabels(block: TabsBlock, failures: string[]): void { |
| 183 | const hasZodishTab = block.tabs.some((tab) => isLikelyTabValue(tab.value, "Zod")); |
no test coverage detected