Open max-sixty opened 1 month ago
Unseen — Accept all new (previously unseen) — allows automatically accepting snapshots which don't yet exist. I can't see it being that helpful — generally I either want to review any snapshots, or I'm running with --accept and will review in git.
Accept all new (previously unseen)
--accept
git
There's some logic from ages ago that looks wrong, https://github.com/mitsuhiko/insta/blob/ce2b3fd10692ecd5ed6d29e0b7a2b6efea327a88/insta/src/runtime.rs#L520-L525, and rather than fix & test it, I might propose deprecating it. To the extent it is indeed wrong, even less likely that people are using the option.
That said, very possibly others find this useful?
The only way to know for sure, is deprecating the feature and printing this URL into terminals :))
Funny you should suggest that: https://github.com/mitsuhiko/insta/pull/668 :)
Unseen —
Accept all new (previously unseen)
— allows automatically accepting snapshots which don't yet exist. I can't see it being that helpful — generally I either want to review any snapshots, or I'm running with--accept
and will review ingit
.There's some logic from ages ago that looks wrong, https://github.com/mitsuhiko/insta/blob/ce2b3fd10692ecd5ed6d29e0b7a2b6efea327a88/insta/src/runtime.rs#L520-L525, and rather than fix & test it, I might propose deprecating it. To the extent it is indeed wrong, even less likely that people are using the option.
That said, very possibly others find this useful?