MCPcopy
hub / github.com/mozilla/source-map / consumerHasSource

Function consumerHasSource

test/test-source-map-consumer.js:1897–1899  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

1895 const consumer = await new SourceMapConsumer(testSourceMap);
1896
1897 function consumerHasSource(s) {
1898 assert.ok(consumer.sourceContentFor(s));
1899 }
1900
1901 consumer.sources.forEach(consumerHasSource);
1902 testSourceMap.sources.forEach(consumerHasSource);

Callers

nothing calls this directly

Calls 1

sourceContentForMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…