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

File overwrite.test.ts

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 6

overwriteMethod · 0.45
toStringMethod · 0.45
removeMethod · 0.45
appendLeftMethod · 0.45
prependRightMethod · 0.45
moveMethod · 0.45

Tested by

no test coverage detected