Function: diffExpectations()

August 8, 2026 ยท View on GitHub

@plures/praxis


@plures/praxis / index / diffExpectations

Function: diffExpectations()

diffExpectations(before, after): ExpectationDiff

Defined in: src/chronos/diff.ts:146

Compare expectation satisfaction between two snapshots.

Parameters

before

ExpectationSnapshot

The baseline expectation snapshot

after

ExpectationSnapshot

The current expectation snapshot

Returns

ExpectationDiff

An ExpectationDiff listing newly satisfied, newly violated, and unchanged expectations