-
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 test for every method in CommentEditFormComponent #12604
[#12588] Add unit test for every method in CommentEditFormComponent #12604
Conversation
Hi @HarryLu33, thank you for your interest in contributing to TEAMMATES!
Please address the above before we proceed to review your PR. |
Ready for review |
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.
thank for for the PR!
in addition to my comments, let's add a test for the ngOnInit() method, when the component is initialized with a response as well
src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.spec.ts
Outdated
Show resolved
Hide resolved
src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.spec.ts
Outdated
Show resolved
Hide resolved
src/web/app/components/comment-box/comment-edit-form/comment-edit-form.component.spec.ts
Outdated
Show resolved
Hide resolved
comments removed added test for the ngOnInit() method
Changes made |
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 work on this!
Folks, This PR seems to be stalling (no activities for the past 7 days). 🐌 😢 |
Folks, This PR seems to be stalling (no activities for the past 7 days). 🐌 😢 |
1 similar comment
Folks, This PR seems to be stalling (no activities for the past 7 days). 🐌 😢 |
Folks, This PR seems to be stalling (no activities for the past 11 days). 🐌 😢 |
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
…mponent (TEAMMATES#12604) * add unit test for every method in CommentEditFormComponent * fix errors * delete empty line * spys assigned to a const comments removed added test for the ngOnInit() method * fix code style * fix code style --------- Co-authored-by: HarryLu <[email protected]> Co-authored-by: Wei Qing <[email protected]>
Part of #12588
Outline of Solution
Add unit test for every method in CommentEditFormComponent