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

File Bundle.test.js

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 15

addSourceMethod · 0.45
appendMethod · 0.45
toStringMethod · 0.45
prependMethod · 0.45
cloneMethod · 0.45
overwriteMethod · 0.45
generateMapMethod · 0.45
indentMethod · 0.45
snipMethod · 0.45
addSourcemapLocationMethod · 0.45
trimMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected