MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / MagicString.test.js

File MagicString.test.js

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

Source from the content-addressed store, hash-verified

1import assert from 'assert';
2import { SourceMapConsumer } from 'source-map-js';
3import MagicString from './utils/IntegrityCheckingMagicString';
4import { describe, it } from 'vitest';

Callers

nothing calls this directly

Calls 15

updateMethod · 0.80
replaceAllMethod · 0.80
appendMethod · 0.45
toStringMethod · 0.45
appendLeftMethod · 0.45
prependRightMethod · 0.45
sliceMethod · 0.45
prependLeftMethod · 0.45
appendRightMethod · 0.45
overwriteMethod · 0.45
cloneMethod · 0.45
addSourcemapLocationMethod · 0.45

Tested by

no test coverage detected