Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ misc.test.ts
File
misc.test.ts
test/MagicString/misc.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ assert, describe, it } from
'vitest'
2
import
MagicString from
'../utils/IntegrityCheckingMagicString.ts'
3
4
describe(
'magicString'
, () => {
Callers
nothing calls this directly
Calls
15
update
Method · 0.80
isEmpty
Method · 0.45
prepend
Method · 0.45
append
Method · 0.45
remove
Method · 0.45
toString
Method · 0.45
appendRight
Method · 0.45
appendLeft
Method · 0.45
length
Method · 0.45
lastChar
Method · 0.45
lastLine
Method · 0.45
overwrite
Method · 0.45
Tested by
no test coverage detected