()
| 17 | let stats: MarkdownRenderStatsSnapshot = makeInitialStats() |
| 18 | |
| 19 | function makeInitialStats(): MarkdownRenderStatsSnapshot { |
| 20 | return { |
| 21 | buildCalls: 0, |
| 22 | totalBuildDurationMs: 0, |
| 23 | maxBuildDurationMs: 0, |
| 24 | codeFenceFormatCalls: 0, |
| 25 | codeFenceFormatTotalMs: 0, |
| 26 | codeFenceFormatMaxMs: 0, |
| 27 | lastCodeFenceFormat: null, |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | export function resetMarkdownRenderStatsForTesting(): void { |
| 32 | stats = makeInitialStats() |
no outgoing calls
no test coverage detected