MCPcopy Index your code
hub / github.com/codeceptjs/CodeceptJS / diffAriaSnapshots

Function diffAriaSnapshots

lib/aria.js:254–258  ·  view source on GitHub ↗
(previous, current)

Source from the content-addressed store, hash-verified

252}
253
254function diffAriaSnapshots(previous, current) {
255 const summariesOf = snap => collectSummaries(dropEmpty(parseSnapshot(snap)))
256 const { added, removed } = diffSummaries(summariesOf(previous), summariesOf(current))
257 return formatDiff(added, removed)
258}
259
260export { diffAriaSnapshots, compactAriaSnapshot }

Callers

nothing calls this directly

Calls 3

diffSummariesFunction · 0.85
summariesOfFunction · 0.85
formatDiffFunction · 0.85

Tested by

no test coverage detected