-
Notifications
You must be signed in to change notification settings - Fork 79
[UserGroups] Prevent duplicate list after updates #918
Conversation
Codecov Report
@@ Coverage Diff @@
## main #918 +/- ##
============================================
+ Coverage 77.48% 77.50% +0.02%
Complexity 1978 1978
============================================
Files 1192 1192
Lines 16395 16402 +7
Branches 1489 1490 +1
============================================
+ Hits 12703 12713 +10
+ Misses 3220 3217 -3
Partials 472 472
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
feec995
expect(userGroupForm).toBeInTheDocument(); | ||
expect(inputName).toBeInTheDocument(); | ||
|
||
act(() => { |
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.
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.
Interesting, but I realized that this issue (in this specific form) was happening because we were using onChange
mode on react-hook-form
and we didn't need this here, so I changed to onBlur
mode and removed the act
s from this tests.
No description provided.