Skip to content

Implement toMatchInlineDiffSnapshot custom matcher #339

New issue

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

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

Already on GitHub? # to your account

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant