-
Notifications
You must be signed in to change notification settings - Fork 31
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
No Certification checkbox error on MHR Info page #1577
No Certification checkbox error on MHR Info page #1577
Conversation
/gcbrun |
Temporary Url for review: https://bcregistry-assets-dev--pr-1577-8tfl0d8g.web.app |
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.
Looks good, but if you could add a unit test would be even better!
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.
Looks good!
Seconding Dima's comment for a unit test 👍
Codecov Report
@@ Coverage Diff @@
## main #1577 +/- ##
==========================================
+ Coverage 72.35% 77.28% +4.93%
==========================================
Files 307 379 +72
Lines 12767 6988 -5779
Branches 2630 1112 -1518
==========================================
- Hits 9237 5401 -3836
+ Misses 3518 1555 -1963
- Partials 12 32 +20
Flags with carried forward coverage won't be shown. Click here to find out more.
|
@dimak1 @cameron-eyds Thank you so much for your comments. I will work on the unit test soon. It may take some time for me to create one. |
@RuoxuanPengBC, there might already be unit tests created for that page. You can just add additional checks. If you need help, let me know! |
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.
Looks good
/gcbrun |
Temporary Url for review: https://bcregistry-assets-dev--pr-1577-8tfl0d8g.web.app |
/gcbrun |
Temporary Url for review: https://bcregistry-assets-dev--pr-1577-8tfl0d8g.web.app |
Issue #: /bcgov/entity#17646
Description of changes:
Changed the logic of selecting which info is rendered.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the PPR license (Apache 2.0).