snapshot-diff icon indicating copy to clipboard operation
snapshot-diff copied to clipboard

Implement `toMatchInlineDiffSnapshot` custom matcher

Open domsli opened this issue 2 years ago • 1 comments

See #330 for why we want this change.

I manually checked the overall change locally by trying the matcher in a separate project: https://github.com/domsli/snapshot-inline-diff-test-app/blob/master/src/App.test.tsx

Some things to note on what was checked:

  • Snapshots are generated when they don't exist
  • Snapshots will fail if they are incorrect
  • Snapshots update with the -u flag

domsli avatar Mar 13 '22 10:03 domsli

@thymikee is this something you would be able to look at?

domsli avatar Mar 17 '22 06:03 domsli