()
| 121 | const blocks: MarkdownRenderBlock[] = []; |
| 122 | let nonTableContent = ""; |
| 123 | const flushNonTableContent = function flushNonTableContent() { |
| 124 | if (nonTableContent) { |
| 125 | blocks.push({ |
| 126 | type: 'ansi', |
| 127 | content: nonTableContent.trim() |
| 128 | }); |
| 129 | nonTableContent = ""; |
| 130 | } |
| 131 | }; |
| 132 | for (const token of tokens) { |
| 133 | if (token.type === "table") { |
| 134 | flushNonTableContent(); |
no outgoing calls
no test coverage detected