-
Notifications
You must be signed in to change notification settings - Fork 99
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
Add errordialog to fix missing error messages in trashcan #1286
Conversation
Codecov Report
@@ Coverage Diff @@
## gsa-8.0 #1286 +/- ##
===========================================
+ Coverage 18% 18.03% +0.03%
===========================================
Files 952 953 +1
Lines 27663 27683 +20
Branches 5988 5982 -6
===========================================
+ Hits 4982 4994 +12
- Misses 21275 21284 +9
+ Partials 1406 1405 -1
Continue to review full report at Codecov.
|
{error && ( | ||
<ErrorDialog | ||
text={error.message} | ||
title="Error" |
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.
title="Error" | |
title={_('Error')} |
expect(handleClose).toHaveBeenCalled(); | ||
}); | ||
|
||
/* test('should close ErrorDialog with cancel button', () => { |
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.
Test code should be removed
Checklist: