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

Function compactAriaSnapshot

lib/aria.js:248–252  ·  view source on GitHub ↗
(snapshot)

Source from the content-addressed store, hash-verified

246// ─────────────────────────────────────────────────────────────────
247
248function compactAriaSnapshot(snapshot) {
249 if (!snapshot) return ''
250 const tree = dropEmpty(parseSnapshot(snapshot))
251 return renderTree(tree)
252}
253
254function diffAriaSnapshots(previous, current) {
255 const summariesOf = snap => collectSummaries(dropEmpty(parseSnapshot(snap)))

Callers

nothing calls this directly

Calls 3

dropEmptyFunction · 0.85
parseSnapshotFunction · 0.85
renderTreeFunction · 0.85

Tested by

no test coverage detected