Skip to content

refactor: use snapshot tests #475

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

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

refactor: use snapshot tests #475

wants to merge 2 commits into from

Conversation

Nerixyz
Copy link
Contributor

@Nerixyz Nerixyz commented Jan 25, 2025

Based on #457 (review). This refactors tests to use insta. It's more of a proof of concept, so I don't waste too much time. Feel free to push to this.

The names of the snapshots are a bit long for my taste (https://redirect.github.com/mitsuhiko/insta/issues/377).

@Nerixyz Nerixyz force-pushed the refactor/snapshot-tests branch 2 times, most recently from 38b2695 to 8e7ec49 Compare January 25, 2025 16:44
@Emilgardis Emilgardis force-pushed the refactor/snapshot-tests branch from 536602c to 8ed4d5a Compare April 12, 2025 12:59
@Emilgardis Emilgardis force-pushed the refactor/snapshot-tests branch from 8ed4d5a to 625faa2 Compare April 12, 2025 13:00
@Emilgardis
Copy link
Member

Changed the code to use inline snapshot storage instead.

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