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

File addSource.test.ts

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

Source from the content-addressed store, hash-verified

1import type { MagicString as BaseMagicString, ExclusionRange } from '../../src/index.ts'
2import { assert, describe, it } from 'vitest'
3import { Bundle } from '../../src/index.ts'
4import { IntegrityCheckingMagicString as MagicString } from '../__utils/IntegrityCheckingMagicString.ts'

Callers

nothing calls this directly

Calls 3

addSourceMethod · 0.45
toStringMethod · 0.45
generateDecodedMapMethod · 0.45

Tested by

no test coverage detected