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

File MagicString.test.ts

test/MagicString.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import type { RawSourceMap } from 'source-map-js'
2import type { ExclusionRange } from '../src/index.ts'
3import assert from 'node:assert'
4import { SourceMapConsumer } from 'source-map-js'

Callers

nothing calls this directly

Calls 15

updateMethod · 0.80
replaceAllMethod · 0.80
appendMethod · 0.45
toStringMethod · 0.45
appendLeftMethod · 0.45
prependRightMethod · 0.45
sliceMethod · 0.45
prependLeftMethod · 0.45
appendRightMethod · 0.45
overwriteMethod · 0.45
cloneMethod · 0.45
addSourcemapLocationMethod · 0.45

Tested by

no test coverage detected