-
-
Notifications
You must be signed in to change notification settings - Fork 596
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
LDS: Improve Error Handling #803
Conversation
Fixes: #773 Should we log key, values? Console.log vs warn vs error?
test failing |
Codecov Report
@@ Coverage Diff @@
## master #803 +/- ##
==========================================
+ Coverage 92.03% 92.05% +0.02%
==========================================
Files 54 54
Lines 4920 4922 +2
Branches 1092 1092
==========================================
+ Hits 4528 4531 +3
+ Misses 392 391 -1
Continue to review full report at Codecov.
|
@acinader After much trial and error, I discovered with the latest jest / jsdom you can't spy after mocking localStorage. It is already set in window.localStorage by jest. No need to mock it. Weird because every test I tried ran locally. |
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
Fixes: #773
Should we log key, values?
Console.log vs warn vs error?