Compares every rule of AshBackendDrivenOptimisticUi.Registry.rules/0 with the files in
test/optimistic_ui/__snapshots__.
mix optimistic_ui.snapshot # exits non-zero listing missing, changed and stale files
mix optimistic_ui.snapshot --update # writes every rule, deletes files whose rule is gone--dir points at another snapshot directory.
Summary
Functions
Writes (update?) or checks the snapshots of rules in dir; raises when a check finds drift.