-
Notifications
You must be signed in to change notification settings - Fork 293
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
Development
: Improve course client test coverage
#6491
Conversation
Development
: Improve course test coverageDevelopment
: Improve course client test coverage
Codecov Report
📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more Additional details and impacted files@@ Coverage Diff @@
## develop #6491 +/- ##
=============================================
+ Coverage 80.49% 80.52% +0.02%
- Complexity 13121 13149 +28
=============================================
Files 2333 2339 +6
Lines 89763 89779 +16
Branches 13244 13233 -11
=============================================
+ Hits 72257 72293 +36
+ Misses 9645 9630 -15
+ Partials 7861 7856 -5
... and 5 files with indirect coverage changes
Continue to review full report in Codecov by Sentry.
|
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.
code looks good 👍
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.
code looks good
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.
Code looks really good.
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.
Tests look good to me.
One question, is it possible that the subscriptions never actually return anything/are never called actually? I mean that neither () => {...}
nor (error) => {...}
is invoked?
Checklist
General
Client
Motivation and Context
#6318 decreased the coverage for some files related to courses. We aim for a line coverage of >90% per file, so this should be improved.
Description
This PR adds tests to improve the coverage on the files from #6318.
Steps for Testing
Check that the tests pass and make sense.
Review Progress
Code Review
Test Coverage
This is the complete table (client only) from #6318 with the updated coverage values. Note that the entries in #6318 apparently were still erroneous in part, so some values here are changed even though this PR does not update the related files.