-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Use an empty object as default value of options for Google Sign in #6844
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
Conversation
We should make sure this PR contains a test case for #6852 |
I think #6852 can be fixed by this PR as well. Should I write a new test case for this? |
yes a test case is needed :) @kvnkuang |
@Moumouls Thanks! Test case added. |
Codecov Report
@@ Coverage Diff @@
## master #6844 +/- ##
==========================================
- Coverage 93.92% 93.76% -0.16%
==========================================
Files 169 169
Lines 12210 12221 +11
==========================================
- Hits 11468 11459 -9
- Misses 742 762 +20
Continue to review full report at Codecov.
|
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!
This pull request is to address the issue parse-community/docs#754.
Without a default value of options, we will have to explicitly define (at least) an empty object at initialization so that Google sign in function won't crash.