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

fix(command.ts): align order of variables with error message #51

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

ramonziai
Copy link
Contributor

I spent a lot of time debugging failed snapshot tests until I found out that the variables for expected and observed image dimensions are swapped in the error message. Can be tested by updating the snapshot and then checking which values change in the message. Fix is to just put them in the correct order.

@simonsmith
Copy link
Owner

Ah, thanks for spotting this. Just looks like you need to pass the commit lint and then we can get this merged 👌🏻

I spent a lot of time debugging failed snapshot tests until I found out that the
variables for expected and observed image dimensions are swapped in the error message.
Can be tested by updating the snapshot and then checking which values change in the message.
Fix is to just put them in the correct order.
@ramonziai
Copy link
Contributor Author

@simonsmith thanks for the quick reaction! Checks are green now, so as far as I am concerned, merge away 😄

@simonsmith simonsmith merged commit 31e4f06 into simonsmith:master Apr 9, 2024
4 checks passed
@simonsmith
Copy link
Owner

@ramonziai Perfect, thank you!

@simonsmith
Copy link
Owner

🎉 This PR is included in version 9.0.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants