-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
--inline-snapshot=fix/create
shouldn't cause the review diff to be printed
#128
Comments
When the report is printed, it says underneath:
It should also suggest |
#129 will fix this issue
|
🎉 thanks so much! |
Fixed in 0.14.0. I will work on how inline-snapshot generates code. These huge diffs shouldn't be there in the first place. |
As per #123, my bad for creating an issue with multiple points.
Currently when I use
--inline-snapshot=fix
or--inline-snapshot=create
I get a massive diff printed. This is the result of a mixture of ruff formatting differing from this library, my preferences andIsNow()
replacing datetimes.As per #123
Is()
might solve some of these, but not all.I'd like (either as the default, or via a config argument) to be able to disable the diff being printed.
Another downside of the big diff is that it means I can't set
export INLINE_SNAPSHOT_DEFAULT_FLAGS=create
by default.The text was updated successfully, but these errors were encountered: