-
Notifications
You must be signed in to change notification settings - Fork 49
Create a helper module to reduce test duplication #316
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
Conversation
1073c7d to
b6fe27f
Compare
curquiza
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this addition 🚀
- Why is this going to be merged to
bump-meilisearch-v0.27.0since it's not related to v0.27.0? Couldn't we merge it to main, and then, merge the commit from merge tobump-meilisearch-v0.27.0? 😊 - Why not changing the tests in the same PR? 😇
I was thinking to change all the tests after this branch is merged 😈, but I prefer to keep it simple to make it understandable, small PRs lead to better reviews!
Not sure why 🤔, I think I did that because of the other branches (I opened all of them on the same day). But I'll apply your suggestion! |
b6fe27f to
02636c5
Compare
👍
For the same reason "small PRs lead to better reviews" I think we should put to |
f3380ba to
3efa106
Compare
bidoubiwa
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🔥🔥
|
bors merge |
323: Update version for the next release (v0.18.3) r=curquiza a=brunoocasali This version makes this package compatible with Meilisearch v0.27.0 🎉 Check out the changelog of [Meilisearch v0.27.0](https://github.com/meilisearch/meilisearch/releases/tag/v0.27.0) for more information on the changes. ## 🚀 Enhancements * Ensure nested field support (#318) `@brunoocasali` * Add `highlightPreTag`, `highlightPostTag`, `cropMarker`, parameters in the search request (#319) `@brunoocasali` * Create a helper module to reduce test duplication (#316) `@brunoocasali` ## 🐛 Bug Fixes * Improve error handling, rescue EPIPE and Net::* errors (#307) `@brunoocasali` Thanks again to `@brunoocasali!` 🎉 Co-authored-by: Bruno Casali <brunoocasali@gmail.com>
The general idea is to change tests from this:
to this:
or this: