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

File slice.test.ts

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

Source from the content-addressed store, hash-verified

1import { assert, describe, it } from 'vitest'
2import MagicString from '../utils/IntegrityCheckingMagicString.ts'
3
4describe('magicString', () => {

Callers

nothing calls this directly

Calls 9

updateMethod · 0.80
sliceMethod · 0.45
overwriteMethod · 0.45
removeMethod · 0.45
toStringMethod · 0.45
resetMethod · 0.45
prependRightMethod · 0.45
appendLeftMethod · 0.45
moveMethod · 0.45

Tested by

no test coverage detected