You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we have to compare the mismatch manually then copy the file over if it's good. Wondering if there's some way to just overwrite the current snapshot but fail the unit test if the file is considered changed by git.
That way I can just use the in built diff tools really easily and just use git commit as a way to approve.
Does means tests won't initially work until they're commited which might not be great, but certainly has potential to reduce required tooling/overhead.
The text was updated successfully, but these errors were encountered:
Currently we have to compare the mismatch manually then copy the file over if it's good. Wondering if there's some way to just overwrite the current snapshot but fail the unit test if the file is considered changed by git.
That way I can just use the in built diff tools really easily and just use git commit as a way to approve.
Does means tests won't initially work until they're commited which might not be great, but certainly has potential to reduce required tooling/overhead.
The text was updated successfully, but these errors were encountered: