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

tests: add snapshot tests via insta.rs #17

Merged
merged 2 commits into from
Sep 21, 2024
Merged

Conversation

sgoudham
Copy link
Contributor

This moves our unit tests all to snapshot tests using insta.rs which should make
it much nicer to review changes to the fixtures.

We can technically refactor the tests more since a lot of it is duplicated and
can be parameterised / macro'd but I didn't want to spend more time on this.

I'll raise a PR in a minute adjusting the colours as discussed on discord.

@sgoudham sgoudham merged commit 77cd113 into main Sep 21, 2024
6 checks passed
@sgoudham sgoudham deleted the tests/setup-insta-rs branch September 21, 2024 22:40
sgoudham added a commit that referenced this pull request Sep 21, 2024
* tests: add snapshot tests via insta.rs

* ci: set `CI: true` for insta.rs
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.

1 participant