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

Trim diffed HTML and improve serializer test. #17

Merged
merged 2 commits into from Apr 23, 2019

Conversation

scotthovestadt
Copy link
Contributor

This PR resolves two issues:

  1. Currently, the snapshot has an extra newline on the top and bottom. This especially looks ugly with (new and improved!) inline snapshots. I resolve it in this PR with a simple trim().
  2. Also check to be sure any possible HTML string ends with >.

Copy link
Member

@rayrutjes rayrutjes left a comment

Choose a reason for hiding this comment

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

This looks good to me, thanks for the contribution.

Do you mind renaming the commit so as to respect the conventional commit format?

See an example commit here: #12

This allows me to easily and lazily generate the changelog.

@scotthovestadt
Copy link
Contributor Author

@rayrutjes Is it possible for you to use GitHub's "Squash and Merge" to lump the commits together and rename them to your preference?

https://help.github.com/en/articles/configuring-commit-squashing-for-pull-requests

Let me know if not and I'll just recreate the PR.

@scotthovestadt
Copy link
Contributor Author

Ping. :)

@rayrutjes rayrutjes merged commit aa47789 into algolia:master Apr 23, 2019
@rayrutjes
Copy link
Member

@scotthovestadt now released under v7.0.0.

Thanks for your patience.

@scotthovestadt
Copy link
Contributor Author

@rayrutjes 🎉Thank you! 🎉

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.

None yet

2 participants