-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ref(angular): Add more tests to the error handler #6445
Conversation
expect(captureExceptionSpy).toHaveBeenCalledWith('Handled unknown error', expect.any(Function)); | ||
}); | ||
|
||
it('handleError method extracts ErrorEvent which has an error has an 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.
it('handleError method extracts ErrorEvent which has an error has an error', () => { | |
it('handleError method extracts ErrorEvent which has an error as an error', () => { |
Co-authored-by: hunhejj <[email protected]>
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.
Hi @theofidry, thanks for adding these tests! Seems like a bunch of cases we have now covered. Appreciate the help!
Thanks for adding these tests @theofidry. Will take a look at your next PR soon! |
Add more tests to cover the problematic paths mentioned in #6332.