Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement toMatchInlineDiffSnapshot custom matcher #339

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

domsli
Copy link

@domsli domsli commented Mar 13, 2022

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 domsli changed the title Implement toMatchInlineDiffSnapshot custom matcher (#330) Implement toMatchInlineDiffSnapshot custom matcher Mar 13, 2022
@domsli domsli force-pushed the domsli/inline-diff-snapshot branch from 23eead3 to 6ba8535 Compare March 13, 2022 11:02
@domsli
Copy link
Author

domsli commented Mar 17, 2022

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

@SimenB SimenB requested a review from thymikee August 16, 2022 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant