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

File replace-all.test.ts

tests/MagicString/replace-all.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 15

removedFunction · 0.85
createFunction · 0.85
replaceAllMethod · 0.80
updateMethod · 0.80
toStringMethod · 0.45
replaceMethod · 0.45
sliceMethod · 0.45
removeMethod · 0.45
prependLeftMethod · 0.45
appendLeftMethod · 0.45
prependRightMethod · 0.45
appendRightMethod · 0.45

Tested by

no test coverage detected