MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / accumulateCoverage

Function accumulateCoverage

test/fixtures.js:18–22  ·  view source on GitHub ↗
(accMap, cov)

Source from the content-addressed store, hash-verified

16 * fast enough to call once per test without tripping teardown timeouts.
17 */
18export function accumulateCoverage(accMap, cov) {
19 const map = accMap || libCoverage.createCoverageMap({})
20 map.merge(cov)
21 return map
22}
23
24/**
25 * Flush the given coverage map to a worker-unique JSON file. Called once

Callers 2

makeHtmxTestFunction · 0.90
fixtures.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected