Open alexjolig opened 5 months ago
Is there a way to exclude a list of fields from the json response of an API while testing with snapshot?
For example if there are keys like updated_at, a randomly generated code or a new id
updated_at
work around: delete the random or unimportant fields/data before performing the comparison.
Is there a way to exclude a list of fields from the json response of an API while testing with snapshot?
For example if there are keys like
updated_at
, a randomly generated code or a new id