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: rewrite models to use snapshots and tables #1382

Merged
merged 1 commit into from
Nov 14, 2024

Conversation

G-Rath
Copy link
Collaborator

@G-Rath G-Rath commented Nov 5, 2024

This should make it easier to maintain since we won't need to edit raw JSON - I wouldn't say this is strictly better as some of the tests were small enough that I'd argue the initial overhead of using snapshots makes it less of a win, but ultimately these don't change often so I think it's still better to be consistent with the rest of the codebase

(I've also got a fix or two coming up in this section which'll be made easier by this)

@G-Rath

This comment was marked as outdated.

@codecov-commenter
Copy link

codecov-commenter commented Nov 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.94%. Comparing base (c80f395) to head (7dfaef3).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1382      +/-   ##
==========================================
- Coverage   68.96%   68.94%   -0.02%     
==========================================
  Files         185      185              
  Lines       17934    17934              
==========================================
- Hits        12368    12365       -3     
- Misses       4903     4904       +1     
- Partials      663      665       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@G-Rath G-Rath force-pushed the test/use-snaps branch 2 times, most recently from 886eaa6 to 9f6d21b Compare November 7, 2024 18:52
@another-rex another-rex merged commit cc30f38 into google:main Nov 14, 2024
13 checks passed
@another-rex another-rex deleted the test/use-snaps branch November 14, 2024 21:36
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.

3 participants