baselineStatus
baselineStatus(
snapshot,current):BaselineStatus
Defined in: packages/core/src/models/baseline-status.ts:26
Classify a snapshot against the baseline currently resolved for its story/viewport/branch.
Parameters
Section titled “Parameters”snapshot
Section titled “snapshot”TrackedSnapshot
Snapshot with its recorded baseline fields.
current
Section titled “current”Baseline | null
Baseline resolved now (own branch, else default branch), or null.