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

test: include more info on parse failure tests #3636

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

Conversation

jakeoeding
Copy link

WIP showing potential option for #2707

What is the previous behavior before this PR?
Previously, tests that check for parsing failure do not include any information about what the failure mode is.

What is the new behavior after this PR?
This attempts to add context to these tests by utilizing Jest snapshots.

@jakeoeding
Copy link
Author

Can anyone provide some comments/feedback on this approach for #2707 ?

@jakeoeding jakeoeding marked this pull request as ready for review July 4, 2022 13:10
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