Function
buildShellComment
(lang: string | undefined, omittedNodeIds: string[])
Source from the content-addressed store, hash-verified
| 268 | } |
| 269 | |
| 270 | function buildShellComment(lang: string | undefined, omittedNodeIds: string[]): string { |
| 271 | const content = `omitted direct children: ${omittedNodeIds.join(',')}` |
| 272 | if (lang === 'vue') { |
| 273 | return `<!-- ${content} -->` |
| 274 | } |
| 275 | return `{/* ${content} */}` |
| 276 | } |
| 277 | |
| 278 | function resolveSnapshotStyle( |
| 279 | snapshot: NodeSnapshot, |
Tested by
no test coverage detected