src/util/UsageStatsMessageSpecs.md
Line coverage:
UsageStatsTestable.swift93% · refreshed 2026-05-27 by/coverage-explore
The Pro-transition prompts show "you've used Pro features N times." UsageStatsTestable computes that N
from raw timestamps: it collapses the per-trigger and per-feature timestamps recorded during a switcher
session into distinct sessions, so using several Pro features within one summon counts once, not
many times. It also formats large counts for display.
formatCount inserts thousand separators for display.Mirrors UsageStatsMessageTests.swift 1:1.