-
Notifications
You must be signed in to change notification settings - Fork 409
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
Add more handler tests #2769
Add more handler tests #2769
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #2769 +/- ##
===========================================
- Coverage 62.90% 26.06% -36.85%
===========================================
Files 441 441
Lines 22727 22737 +10
===========================================
- Hits 14297 5926 -8371
- Misses 7499 16201 +8702
+ Partials 931 610 -321
... and 142 files with indirect coverage changes
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
Some comments 🤗
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.
I agree with Chi, it seems that errors returned because of invalid params should be tested and shouldn't be lazyerrors
(even if they were before). But I like that we added more tests to check params!
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
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.
Nice addition of tests!
Description
Closes #2704.
Readiness checklist
task all
, and it passed.@FerretDB/core
), Labels, Project and project's Sprint fields.