MCPcopy
hub / github.com/npmx-dev/npmx.dev / text.spec.ts

File text.spec.ts

test/unit/server/utils/docs/text.spec.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest'
2import * as fc from 'fast-check'
3import { escapeHtml, parseJsDocLinks, renderMarkdown, stripAnsi } from '#server/utils/docs/text'
4import type { SymbolLookup } from '#server/utils/docs/types'

Callers

nothing calls this directly

Calls 4

stripAnsiFunction · 0.90
escapeHtmlFunction · 0.90
parseJsDocLinksFunction · 0.90
renderMarkdownFunction · 0.90

Tested by

no test coverage detected