-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[#12588] Add unit tests for FeedbackPathPanelComponent #12613
[#12588] Add unit tests for FeedbackPathPanelComponent #12613
Conversation
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.
a couple of comments, and also changeGiverRecipientType function is not being tested here, do add tests for that
src/web/app/components/feedback-path-panel/feedback-path-panel.component.spec.ts
Outdated
Show resolved
Hide resolved
src/web/app/components/feedback-path-panel/feedback-path-panel.component.spec.ts
Outdated
Show resolved
Hide resolved
Thanks for the comment, I've fixed the issue that you've mentioned. |
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.
almost there, some more branches to test in changeGiverRecipientType, do ensure that all the branches are tested
src/web/app/components/feedback-path-panel/feedback-path-panel.component.spec.ts
Outdated
Show resolved
Hide resolved
I think I'm pretty sure to cover all the branchs, test coverage seems bit higher then previous one! |
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.
almost there, just a few minor changes!
src/web/app/components/feedback-path-panel/feedback-path-panel.component.spec.ts
Show resolved
Hide resolved
src/web/app/components/feedback-path-panel/feedback-path-panel.component.spec.ts
Show resolved
Hide resolved
Thanks for the comment! I've fixed the issues, please check it! |
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! thank you for your contribution
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!
…MATES#12613) * add tests * fix the code * fix lines * delete few tests * add the test again * delete the test again to pass test * add the test again * add the test & fix whole structure * fix minor things * fix minor things * fix minor things
Part of #12588
Outline of Solution
Add unit tests for FeedbackPathPanelComponent