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

File trim.test.ts

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 12

appendMethod · 0.45
trimEndMethod · 0.45
toStringMethod · 0.45
prependMethod · 0.45
trimStartMethod · 0.45
trimMethod · 0.45
overwriteMethod · 0.45
generateDecodedMapMethod · 0.45
sliceMethod · 0.45
removeMethod · 0.45
appendRightMethod · 0.45
trimLinesMethod · 0.45

Tested by

no test coverage detected