(previous, current)
| 252 | } |
| 253 | |
| 254 | function 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 | |
| 260 | export { diffAriaSnapshots, compactAriaSnapshot } |
nothing calls this directly
no test coverage detected