Expand description
Helpers for redacting values in insta snapshots.
Each helper validates the value it replaces, failing the test when the snapshot content does not match the expected value.
Functionsยง
- create_
insta_ redaction - Create an
instaredaction that replaces the string form ofvaluewith[replacement]. - create_
insta_ redaction_ u128 - Create an
instaredaction for unsigned integer content, replacingvaluewith[replacement].