Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ Bundle.test.js
File
Bundle.test.js
test/Bundle.test.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ describe, it } from
'vitest'
;
2
import
assert from
'assert'
;
3
import
MagicString, { Bundle } from
'../'
;
4
import
{ SourceMapConsumer } from
'source-map-js'
;
Callers
nothing calls this directly
Calls
15
addSource
Method · 0.45
append
Method · 0.45
toString
Method · 0.45
prepend
Method · 0.45
clone
Method · 0.45
overwrite
Method · 0.45
generateMap
Method · 0.45
indent
Method · 0.45
snip
Method · 0.45
addSourcemapLocation
Method · 0.45
trim
Method · 0.45
remove
Method · 0.45
Tested by
no test coverage detected