Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ slice.test.ts
File
slice.test.ts
test/MagicString/slice.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
9
update
Method · 0.80
slice
Method · 0.45
overwrite
Method · 0.45
remove
Method · 0.45
toString
Method · 0.45
reset
Method · 0.45
prependRight
Method · 0.45
appendLeft
Method · 0.45
move
Method · 0.45
Tested by
no test coverage detected