MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / toMagicString.test.ts

File toMagicString.test.ts

tests/Bundle/toMagicString.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { RawSourceMap } from 'source-map-js'
2import { SourceMapConsumer } from 'source-map-js'
3import { assert, describe, it } from 'vitest'
4import { Bundle, MagicString } from '../../src/index.ts'

Callers

nothing calls this directly

Calls 12

assertIntegrityFunction · 0.85
toMagicStringMethod · 0.80
addSourceMethod · 0.45
toStringMethod · 0.45
overwriteMethod · 0.45
removeMethod · 0.45
appendMethod · 0.45
prependMethod · 0.45
appendLeftMethod · 0.45
generateMapMethod · 0.45
addSourcemapLocationMethod · 0.45
moveMethod · 0.45

Tested by

no test coverage detected