Skip to content

Add snapshot files#339

Merged
jashapiro merged 3 commits intomainfrom
jashapiro/update-snapshots
Apr 9, 2026
Merged

Add snapshot files#339
jashapiro merged 3 commits intomainfrom
jashapiro/update-snapshots

Conversation

@jashapiro
Copy link
Copy Markdown
Member

I got an error with tests failing when I merged #54, and it seems like for some reason we are not including snapshots in the output files. Seems like maybe the version of testthat we have in the renv was not throwing an error when the snapshot didn't exist and new versions do?

Either way, the snapshots are small enough that it seems like we should keep them in the repo, as it will keep us all honest (If we run tests locally as we should).

@jashapiro jashapiro requested a review from sjspielman April 9, 2026 00:08
@sjspielman
Copy link
Copy Markdown
Member

Seems like maybe the version of testthat we have in the renv was not throwing an error when the snapshot didn't exist and new versions do?

Yup! #337 (comment)

Copy link
Copy Markdown
Member

@sjspielman sjspielman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉

@jashapiro jashapiro merged commit 741b180 into main Apr 9, 2026
11 checks passed
@jashapiro jashapiro deleted the jashapiro/update-snapshots branch April 9, 2026 14:09
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.

2 participants