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

File generate-map.test.ts

test/MagicString/generate-map.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 MagicString from '../utils/IntegrityCheckingMagicString.ts'

Callers

nothing calls this directly

Calls 15

updateMethod · 0.80
removeMethod · 0.45
generateMapMethod · 0.45
toStringMethod · 0.45
toUrlMethod · 0.45
prependMethod · 0.45
appendMethod · 0.45
indentMethod · 0.45
splitMethod · 0.45
generateDecodedMapMethod · 0.45
addSourcemapLocationMethod · 0.45
overwriteMethod · 0.45

Tested by

no test coverage detected