Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ indent.test.ts
File
indent.test.ts
test/MagicString/indent.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
12
build
Function · 0.85
getIndentString
Method · 0.45
indent
Method · 0.45
toString
Method · 0.45
appendRight
Method · 0.45
overwrite
Method · 0.45
remove
Method · 0.45
appendLeft
Method · 0.45
prependRight
Method · 0.45
append
Method · 0.45
prepend
Method · 0.45
split
Method · 0.45
Tested by
no test coverage detected