-
Notifications
You must be signed in to change notification settings - Fork 64
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
test: Add tests for remove hosts from group modal #2126
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2126 +/- ##
=======================================
Coverage 57.51% 57.51%
=======================================
Files 193 193
Lines 6198 6198
Branches 1718 1718
=======================================
Hits 3565 3565
Misses 2633 2633 ☔ View full report in Codecov by Sentry. |
/retest |
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! @gkarat thank you.
expect(removeHostsFromGroup).toBeCalledWith('g1', ['h1']); | ||
}); | ||
|
||
it('can remove more groups', async () => { |
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.
it('can remove more groups', async () => { | |
it('can remove multiple groups', async () => { |
A tiny nitpick :)
🎉 This PR is included in version 1.62.4 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This adds some new unit tests for the component.