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

File generate-map.test.ts

tests/Bundle/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 { encode } from '@jridgewell/sourcemap-codec'
3import { SourceMapConsumer } from 'source-map-js'
4import { assert, describe, it } from 'vitest'

Callers

nothing calls this directly

Calls 13

addSourceMethod · 0.45
generateMapMethod · 0.45
toStringMethod · 0.45
appendMethod · 0.45
prependMethod · 0.45
indentMethod · 0.45
snipMethod · 0.45
overwriteMethod · 0.45
generateDecodedMapMethod · 0.45
addSourcemapLocationMethod · 0.45
removeMethod · 0.45
prependRightMethod · 0.45

Tested by

no test coverage detected