Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/marktext/marktext
/ codeBlockLineNumbers.spec.ts
File
codeBlockLineNumbers.spec.ts
packages/muya/src/utils/__tests__/codeBlockLineNumbers.spec.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
// @vitest-environment happy-dom
2
import
{ beforeEach, describe, expect, it } from
'vitest'
;
3
import
{
4
computeLineCount,
Callers
nothing calls this directly
Calls
3
computeLineCount
Function · 0.90
lineNumbersWrapperHTML
Function · 0.90
syncLineNumbersSpans
Function · 0.90
Tested by
no test coverage detected