//! Tests for the git-tree view-model.
//!
//! Tests are split by concern: [`fixture`] owns the shared workspace-
//! building helpers (its one `git` fork site lives in [`git`]), [`unit`]
//! drives the pure-function layer (detection,
//! parsing, preview extraction), and [`repo`] covers the end-to-end
//! [`super::GitTree::from_repo`] flow against real tempdir-backed
//! workspaces. Agent-state coverage (§3.5) lives in
//! [`state_repo`] (end-to-end quiescent/stopped classification against
//! real fixtures) and [`state_unit`] (the probe-injected tri-state mapping
//! table, where the `live`/`in_flight` and `Unknown`-uncertainty rows are
//! proven); the procfs probe backends are unit-tested in `super::fd_probe`
//! and `super::lock_probe`. The state-badge glyph/hue mapping lives in
//! `theme` (§11's single colour authority) with its tests; badge paint
//! reachability is the shell acceptance smoke's concern.
pub
pub