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

File clone.test.ts

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 8

overwriteMethod · 0.45
cloneMethod · 0.45
toStringMethod · 0.45
addSourcemapLocationMethod · 0.45
prependMethod · 0.45
appendMethod · 0.45
generateMapMethod · 0.45
updateMethod · 0.45

Tested by

no test coverage detected